public function contains(array $list)
    {
        phpCAS::traceBegin();
        $count = 0;
        foreach ($this->_chains as $chain) {
            phpCAS::trace("Checking chain ". $count++);
            if ($chain->matches($list)) {
                phpCAS::traceEnd(true);
                return true;
            }
        }
        phpCAS::trace("No proxy chain matches.");
        phpCAS::traceEnd(false);
        return false;
    }
public function contains(array $list)
    {
        phpCAS::traceBegin();
        $count = 0;
        foreach ($this->_chains as $chain) {
            phpCAS::trace("Checking chain ". $count++);
            if ($chain->matches($list)) {
                phpCAS::traceEnd(true);
                return true;
            }
        }
        phpCAS::trace("No proxy chain matches.");
        phpCAS::traceEnd(false);
        return false;
    }
public function contains ( array $ list ) { phpCAS :: traceBegin ( ) ; $ count = 0 ; foreach ( $ this -> _chains as $ chain ) { phpCAS :: trace ( "Checking chain " . $ count ++ ) ; if ( $ chain -> matches ( $ list ) ) { phpCAS :: traceEnd ( true ) ; return true ; } } phpCAS :: trace ( "No proxy chain matches." ) ; phpCAS :: traceEnd ( false ) ; return false ; }
Validate the proxies from the proxy ticket validation against the
chains that were definded.

@param array $list List of proxies from the proxy ticket validation.

@return if any chain fully matches the supplied list
Validate the proxies from the proxy ticket validation against the chains that were definded .