final protected function hasInDelegates($key)
    {
        foreach ($this->delegates as $delegate) {
            if (isset($delegate[$key])) {
                return true;
            }
        }
        return false;
    }
final protected function hasInDelegates($key)
    {
        foreach ($this->delegates as $delegate) {
            if (isset($delegate[$key])) {
                return true;
            }
        }
        return false;
    }
final protected function hasInDelegates ( $ key ) { foreach ( $ this -> delegates as $ delegate ) { if ( isset ( $ delegate [ $ key ] ) ) { return true ; } } return false ; }
Determines if a delegate object contains the specified key and if its value is not NULL.

Iterates over each object in the delegate stack and stops on
the first match containing the specified key.

@param  string $key The data key to check.
@return boolean TRUE if $key exists and has a value other than NULL, FALSE otherwise.
Determines if a delegate object contains the specified key and if its value is not NULL .