def is_valid_url(url):
    """
    Check if the href URL is valid
    """

    return (
        url != "#" and
        url != "" and
        url[0] != "?" and
        url[0] != "#" and
        not url.startswith("tel:") and
        not url.startswith("javascript:") and
        not url.startswith("mailto:")
    )