def is_file_list(coll):
    """
    Checks whether a collection is a list of files.

    :param coll (list): collection to check.
    :return: True if collection is a list of files, else returns False.
    """
    # check if collection is a list of files
    if not isinstance(coll, list):
        raise Exception(f"Expected collection as a list, have received {type(coll)}")

    if coll[0].startswith("/") or coll[0].startswith("http"):
        return True

    return False