code: def object_attribute_dicts_equal(
      one_dict: Dict[str, Any],
      other_dict: Dict[str, Any],
      skip_db_id_check: bool = False,
  ) -> bool:
      """Utility to check if all items in attribute dicts of two Ax objects
      are the same.
  
  
      NOTE: Special-cases some Ax object attributes, like "_experiment" or
      "_model", where full equality is hard to check.
  
      Args:
          one_dict: First object's attribute dict (``obj.__dict__``).
          other_dict: Second object's attribute dict (``obj.__dict__``).
          skip_db_id_check: If ``True``, will exclude the ``db_id`` attributes from the
              equality check. Useful for ensuring that all attributes of an object are
              equal except the ids, with which one or both of them are saved to the
              database (e.g. if confirming an object before it was saved, to the version
              reloaded from the DB).
      """
      (
          unequal_type,
          unequal_value,
      ) = object_attribute_dicts_find_unequal_fields(
          one_dict=one_dict,
          other_dict=other_dict,
          skip_db_id_check=skip_db_id_check,
      )
      return not bool(unequal_type or unequal_value)
  
file_path: Ax/ax/utils/common/equality.py
imports: from __future__ import annotations
  from datetime import datetime
  from typing import Any, Callable, Dict, List, Optional, Tuple
  import numpy
  import pandas
  from ax.utils.common.typeutils import numpy_type_to_python_type
label_desc: Use image node_id 5 for calling a global function with example usage: object_attribute_dicts_equal(one_dict, other_dict, skip_db_id_check) and returns: unknown