Returns boolean whether the argument is a ndarray