def already_all_imported(group, imported_filepaths):
    """Test is all the filepaths in groups are already imported in
    imported_filepaths"""
    nimported = sum(fp in imported_filepaths for fp in group)
    return nimported == len(group)