public function isSubpartVisible($subpartName)
    {
        if ($subpartName === '') {
            return false;
        }

        return isset($this->subparts[$subpartName])
            && !isset($this->subpartsToHide[$subpartName]);
    }
public function isSubpartVisible($subpartName)
    {
        if ($subpartName === '') {
            return false;
        }

        return isset($this->subparts[$subpartName])
            && !isset($this->subpartsToHide[$subpartName]);
    }
public function isSubpartVisible ( $ subpartName ) { if ( $ subpartName === '' ) { return false ; } return isset ( $ this -> subparts [ $ subpartName ] ) && ! isset ( $ this -> subpartsToHide [ $ subpartName ] ) ; }
Checks whether a subpart is visible.

Note: If the subpart to check does not exist, this function will return
FALSE.

@param string $subpartName name of the subpart to check (without the ###), must not be empty

@return bool TRUE if the subpart is visible, FALSE otherwise
Checks whether a subpart is visible .