Check if the URL indicates an anchor of the document