check if value is not in array python