code: def is_foreign_key_field(field: str) -> bool:
      """Return true if field name is a foreign key field, i.e. ends in `_id`."""
      return len(field) > 3 and field[-3:] == "_id"
  
imports: import warnings
  from typing import Any, List, Optional
  from ax.core.experiment import Experiment
  from ax.core.search_space import SearchSpace
  from ax.exceptions.storage import SQADecodeError
  from ax.utils.common.base import Base, SortableBase
label_desc: Use image node_id 1 for calling a global function with example usage: is_foreign_key_field(field) and returns: unknown