pandas: check if row exists with certain values,((df['A'] == 1) & (df['B'] == 2)).any()