Swat/SwatUIObject.php
public function isVisible()
    {
        if ($this->parent instanceof SwatUIObject) {
            return $this->parent->isVisible() && $this->visible;
        } else {
            return $this->visible;
        }
    }
public function isVisible()
    {
        if ($this->parent instanceof SwatUIObject) {
            return $this->parent->isVisible() && $this->visible;
        } else {
            return $this->visible;
        }
    }
public function isVisible ( ) { if ( $ this -> parent instanceof SwatUIObject ) { return $ this -> parent -> isVisible ( ) && $ this -> visible ; } else { return $ this -> visible ; } }
Gets whether or not this UI object is visible

Looks at the visible property of the ancestors of this UI object to
determine if this UI object is visible.

@return boolean true if this UI object is visible and false if it is not.

@see SwatUIObject::$visible
Gets whether or not this UI object is visible