def METHOD_NAME(uri: str, ns_map: Dict) -> bool:
    """Check if the uri exists and it has no prefix."""
    for prefix, ns in ns_map.items():
        if uri == ns and not prefix:
            return True
    return False