#NEWLINE# def contains( self , data_x , data_y ) : #NEWLINE# #INDENT# ( x_arr , y_arr ) = ( numpy . array ( [ data_x ] ) , numpy . array ( [ data_y ] ) ) #NEWLINE# res = self . contains_arr ( x_arr , y_arr ) #NEWLINE# return y_arr [ 0 ]