code: def any(self, axis=None, out=None):
      if ivy.exists(axis):
          return any(self.A, axis=axis, keepdims=True, out=out)
      return any(self.A, axis=axis, out=out)
  
file_path: ivy/ivy/functional/frontends/numpy/matrix/methods.py
imports: import ivy
  from ivy.functional.frontends.numpy import argmax, any, ndarray
label_desc: Use image node_id 16 for calling the matrix obj's underlying member method code with example usage: obj.any(axis, out) and returns: any, any