code: def isVisible( self ):
          
          layer = self.layer()
          if layer and not layer.isVisible():
              return False
          
          return self._visible
docs: Returns whether or not this item is visible.
          
          :return     <bool>