numpy.ndarray.__contains__#

method

ndarray.__contains__(key, /)#

返回 bool(key in self).