SimpleSAML_XML_Shib13_AuthnResponse::isNodeValidated PHP Method

isNodeValidated() private method

Returns: TRUE if the node is validated or FALSE if not.
private isNodeValidated ( $node )
    private function isNodeValidated($node)
    {
        if ($this->messageValidated) {
            // This message was validated externally
            return TRUE;
        }
        if ($this->validator === NULL) {
            return FALSE;
        }
        // Convert the node to a DOM node if it is an element from SimpleXML
        if ($node instanceof SimpleXMLElement) {
            $node = dom_import_simplexml($node);
        }
        assert('$node instanceof DOMNode');
        return $this->validator->isNodeValidated($node);
    }