code: def is_none(obj):
      
      if obj is None:
          return True
      if (is_sequence(obj) and
          len(obj) == 1 and
              obj[0] is None):
          return True
      return False
docs: Check to see if an object is None or not.
  
      Handles the case of np.array(None) as well.
  
      Parameters
      -------------
      obj : object
        Any object type to be checked
  
      Returns
      -------------
      is_none : bool
          True if obj is None or numpy None-like