SciPy

numpy.ndarray.__contains__

ndarray.__contains__($self, key, /)

Return key in self.