Python Check If Array Value Exists