def is_nongeneric_url(url):
    """Returns True for URLs which are non-http and non-generic.

    Parameters
    ----------
    url : str
        URL to scan.

    Returns
    -------
    bool
        True if URL is a non-generic URL, False otherwise.
    """

    ignored_prefix = [
        "about:",
        "apt:",
        "chrome://",
        "file://",
        "place:",
    ]

    for prefix in ignored_prefix:
        if url.startswith(prefix):
            return True

    return False