lib/EditableContainer.php
public function isDefined($id)
    {
        return isset($this->typemap[$id]) ? $this->typemap[$id] : false;
    }
public function isDefined($id)
    {
        return isset($this->typemap[$id]) ? $this->typemap[$id] : false;
    }
public function isDefined ( $ id ) { return isset ( $ this -> typemap [ $ id ] ) ? $ this -> typemap [ $ id ] : false ; }
Checks whether an item with given name is defined and, if so, which type it requires.

@param string $id The name of the item

@return string|false Returns the required type of the item if it is defined or FALSE if not.
Checks whether an item with given name is defined and if so which type it requires .