src/ContainerTrait.php
public function hasElement($short_name)
    {
        return isset($this->elements[$short_name])
            ? $this->elements[$short_name]
            : false;
    }
public function hasElement($short_name)
    {
        return isset($this->elements[$short_name])
            ? $this->elements[$short_name]
            : false;
    }
public function hasElement ( $ short_name ) { return isset ( $ this -> elements [ $ short_name ] ) ? $ this -> elements [ $ short_name ] : false ; }
Find child element. Use in condition.

@param string $short_name Short name of the child element

@return object|bool
Find child element . Use in condition .