Python Check If Array Contains An Element Found