Check If String Exists In Array Python Declaration