protected function hasIn($key, $in)
    {
        $keys = explode($this->getSeparator(), $key, 2);
        if (count($keys) <= 0) {
            return false;
        } else {
            if (! isset($in[$keys[0]])) {
                return false;
            } else {
                if (count($keys) >= 2) {
                    return true && $this->hasIn($keys[1], $in[$keys[0]]);
                } else {
                    return true;
                }
            }
        }
    }
protected function hasIn($key, $in)
    {
        $keys = explode($this->getSeparator(), $key, 2);
        if (count($keys) <= 0) {
            return false;
        } else {
            if (! isset($in[$keys[0]])) {
                return false;
            } else {
                if (count($keys) >= 2) {
                    return true && $this->hasIn($keys[1], $in[$keys[0]]);
                } else {
                    return true;
                }
            }
        }
    }
protected function hasIn ( $ key , $ in ) { $ keys = explode ( $ this -> getSeparator ( ) , $ key , 2 ) ; if ( count ( $ keys ) <= 0 ) { return false ; } else { if ( ! isset ( $ in [ $ keys [ 0 ] ] ) ) { return false ; } else { if ( count ( $ keys ) >= 2 ) { return true && $ this -> hasIn ( $ keys [ 1 ] , $ in [ $ keys [ 0 ] ] ) ; } else { return true ; } } } }
Does the collection have a given key?

Warn: Recursive function

@param string $key
The data key
@param array $in
The folder uses for the recursion

@return boolean If the collection have the given key
Does the collection have a given key?