check if element not in array python