public function HasNamespace($namespace, $header="")
    {
        if($header)
        {
            if(isset($this->headers[$header]->namespaces[$namespace]))
            {
                return $this->headers[$header]->namespaces[$namespace];
            }
        }
        else
        {
            foreach($this->headers as $header_object)
            {
                if(isset($header_object->namespaces[$namespace]))
                {
                    return $header_object->namespaces[$namespace];
                }
            }
        }
        
        return null;
    }