def METHOD_NAME(file_list, prefix, regular):
    assert os.path.join(prefix, MANIFEST_FILE) in file_list
    assert os.path.join(prefix, "service.py") in file_list
    if regular:
        assert os.path.join(prefix, "dummy-artifacts.txt") in file_list
        assert os.path.join(prefix, "dir/1.py") in file_list
    else:
        assert os.path.join(prefix, "model.onnx") in file_list