Determine if a function can be overridden via __array_ufunc__
Function that may be overridable via __array_ufunc__
True if func is overridable via __array_ufunc__ and False otherwise.
This function is equivalent to isinstance(func, np.ufunc) and will work correctly for ufuncs defined outside of Numpy.
© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.testing.overrides.allows_array_ufunc_override.html