def _is_url(filename):
    """Check if the file is a url link.

    Args:
        filename (str): the file name or url link.

    Returns:
        bool: is url or not.
    """
    prefixes = ['http://', 'https://']
    for p in prefixes:
        if filename.startswith(p):
            return True
    return False