def METHOD_NAME(self, url_data):
    """Check validity, scheme, extern and url_connection."""
    return (
        url_data.valid
        and url_data.scheme == 'https'
        and not url_data.extern[0]
        and url_data.url_connection is not None
    )