Numpy Check If 2d Array Is Mutable Or Immutable