code: def objects_by_seal_state(info: RayContext) -> Dict:
      return _objects_by_tag(info, "ObjectState")
  
file_path: ray/python/ray/tests/test_object_store_metrics.py
imports: from collections import defaultdict
  import pytest
  from typing import Dict
  import numpy
  import sys
  import requests
  import ray
  from ray._private.test_utils import raw_metrics, wait_for_condition
  from ray._private.worker import RayContext
label_desc: Use image node_id 2 for calling a global function with example usage: objects_by_seal_state(info) and returns: _objects_by_tag