Python Check If Value Exists In Array