check if element is not in array python