public function isProxyListAllowed(array $proxies)
    {
        phpCAS::traceBegin();
        if (empty($proxies)) {
            phpCAS::trace("No proxies were found in the response");
            phpCAS::traceEnd(true);
            return true;
        } elseif (!$this->isProxyingAllowed()) {
            phpCAS::trace("Proxies are not allowed");
            phpCAS::traceEnd(false);
            return false;
        } else {
            $res = $this->contains($proxies);
            phpCAS::traceEnd($res);
            return $res;
        }
    }
public function isProxyListAllowed(array $proxies)
    {
        phpCAS::traceBegin();
        if (empty($proxies)) {
            phpCAS::trace("No proxies were found in the response");
            phpCAS::traceEnd(true);
            return true;
        } elseif (!$this->isProxyingAllowed()) {
            phpCAS::trace("Proxies are not allowed");
            phpCAS::traceEnd(false);
            return false;
        } else {
            $res = $this->contains($proxies);
            phpCAS::traceEnd($res);
            return $res;
        }
    }
public function isProxyListAllowed ( array $ proxies ) { phpCAS :: traceBegin ( ) ; if ( empty ( $ proxies ) ) { phpCAS :: trace ( "No proxies were found in the response" ) ; phpCAS :: traceEnd ( true ) ; return true ; } elseif ( ! $ this -> isProxyingAllowed ( ) ) { phpCAS :: trace ( "Proxies are not allowed" ) ; phpCAS :: traceEnd ( false ) ; return false ; } else { $ res = $ this -> contains ( $ proxies ) ; phpCAS :: traceEnd ( $ res ) ; return $ res ; } }
Check if the proxies found in the response match the allowed proxies

@param array $proxies list of proxies to check

@return bool whether the proxies match the allowed proxies
Check if the proxies found in the response match the allowed proxies