Annotate ._isResourceHref() as private.