public function isEntry($var = null, $section = false)
    {
        return (
            !empty($var) and (
                (!empty($section) && isset($this->registry[$section]) && isset($this->registry[$section][$var])) or
                isset($this->registry[$var])
            )
        );
    }
public function isEntry($var = null, $section = false)
    {
        return (
            !empty($var) and (
                (!empty($section) && isset($this->registry[$section]) && isset($this->registry[$section][$var])) or
                isset($this->registry[$var])
            )
        );
    }
public function isEntry ( $ var = null , $ section = false ) { return ( ! empty ( $ var ) and ( ( ! empty ( $ section ) && isset ( $ this -> registry [ $ section ] ) && isset ( $ this -> registry [ $ section ] [ $ var ] ) ) or isset ( $ this -> registry [ $ var ] ) ) ) ; }
Check if an entry exists in registry

@param   string  $var        The variable name to check
@param   string  $section    A section name in the registry (default is FALSE)
@return  bool
Check if an entry exists in registry