code: def validate_otlp_protocol(protocol: str) -> bool:
      return protocol in ["grpc", "http"]
  
imports: from __future__ import annotations
  import ipaddress
  import logging
  import os
  import re
  import typing
  from functools import singledispatch
  from typing import TYPE_CHECKING
  import schema
  import yaml
  from ...exceptions import BentoMLConfigException
  from ..utils import LazyLoader
label_desc: Use image node_id 9 for calling a global function with example usage: validate_otlp_protocol(protocol) and returns: unknown