Python See If Key Exists In Array