def whitelistedForProtobufDeps(file_path):
    return (file_path.endswith(PROTO_SUFFIX) or file_path.endswith(REPOSITORIES_BZL) or any(((path_segment in file_path) for path_segment in GOOGLE_PROTOBUF_WHITELIST)))
def whitelistedForProtobufDeps(file_path):
    return (file_path.endswith(PROTO_SUFFIX) or file_path.endswith(REPOSITORIES_BZL) or any(((path_segment in file_path) for path_segment in GOOGLE_PROTOBUF_WHITELIST)))