public function isValidAttributeNS($namespace_uri, $local_name)
    {
        if (!$this->isHandledNamespace($namespace_uri)) return false;

        $attrs = $this->namespaces_by_uri[$namespace_uri]->getAttributes();
        return isset($attrs[$local_name]);
    }
public function isValidAttributeNS($namespace_uri, $local_name)
    {
        if (!$this->isHandledNamespace($namespace_uri)) return false;

        $attrs = $this->namespaces_by_uri[$namespace_uri]->getAttributes();
        return isset($attrs[$local_name]);
    }
public function isValidAttributeNS ( $ namespace_uri , $ local_name ) { if ( ! $ this -> isHandledNamespace ( $ namespace_uri ) ) return false ; $ attrs = $ this -> namespaces_by_uri [ $ namespace_uri ] -> getAttributes ( ) ; return isset ( $ attrs [ $ local_name ] ) ; }
Returns true if the attribute is a valid phptal attribute

Examples of valid attributes: tal:content, metal:use-slot
Examples of invalid attributes: tal:unknown, metal:content

@return bool
Returns true if the attribute is a valid phptal attribute