Check If Array Element Exists Python Ide