How To Check If An Input Is In An Array Python