human
testing whether a Numpy array contains a given row
assistant
Here is some code to check whether a numpy array `a` contains a given row `[1, 2]`

any(np.equal(a, [1, 2]).all(1))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.