Python Array Check If Element Exists