code: def define_frontends_uri_config(config):
      """Create and define the field of frontends URI configuration."""
  
      def parse_frontends_uri(data):
          # Expect either a list of strings (URLs),
          # or a string as comma-separated list of URLs
          if isinstance(data, list):
              return data
          elif isinstance(data, str):
              return [piece.strip() for piece in data.split(",")]
          else:
              raise RuntimeError(
                  f"frontends_uri: expected either a list of strings (URLs), "
                  f"or a string as comma-separated list of URLs, got {data}"
              )
  
      config.add_option(
          "frontends_uri",
          option_type=parse_frontends_uri,
          default=[],
          env_var="ORION_WEBAPI_FRONTENDS_URI",
          help="List of frontends addresses allowed to send requests to Orion server.",
      )
  
file_path: orion/src/orion/core/__init__.py
imports: import logging
  import os
  import socket
  from appdirs import AppDirs
  from orion.core.io.config import Configuration
  from ._version import get_versions
label_desc: Use image node_id 2 for calling a global function with example usage: define_frontends_uri_config(config) and returns: data, unknown