result = getattr(asarray(obj), method)(*args, **kwds)
if wrap:
    if not isinstance(result, mu.ndarray):
        result = asarray(result)
result = wrap(result)
return result
numpy all differing from builtin all