code: def _is_valid_cspace(self):
      if (
          (self.cspace == "rgb")
          or (self.cspace == "bgr")
          or (self.cspace == "gray")
          or (self.cspace == "hsv")
          or (self.cspace == "hls")
          or (self.cspace == "lab")
          or (self.cspace == "yuv")
          or (self.cspace == "luv")
      ):
          return True
  
      # Else
      self.cspace = "null"
      return False
  
imports: import numpy
label_desc: Use image node_id 22 for calling the _TensorBase obj's underlying member method code with example usage: obj._is_valid_cspace() and returns: False, True