Python Check If Array Has A Value