code: def _used_obj_ids_not_in_remote(
      remote_odb_to_obj_ids: "ObjectContainer",
      jobs: Optional[int] = None,
  ):
      used_obj_ids = set()
      remote_oids = set()
      for remote_odb, obj_ids in remote_odb_to_obj_ids.items():
          assert remote_odb
          remote_oids.update(
              remote_odb.list_oids_exists(
                  {x.value for x in obj_ids if x.value},
                  jobs=jobs,
              )
          )
          used_obj_ids.update(obj_ids)
      return {
          obj for obj in used_obj_ids if obj.value not in remote_oids
      }
  
file_path: dvc/dvc/repo/gc.py
imports: from typing import TYPE_CHECKING, List, Optional
  from dvc.exceptions import InvalidArgumentError
  from dvc.log import logger
  from .None import locked
label_desc: Use image node_id 2 for calling a global function with example usage: _used_obj_ids_not_in_remote(remote_odb_to_obj_ids, jobs) and returns: unknown