code: def in_share_context():
      """
      Query whether sharing mode is active.  If ``True``, we are currently in a
      :func:`sharing_mode` context, which means model pickling will be used for
      cross-process sharing.
      """
      return _save_mode() == "share"
  
file_path: lkpy/lenskit/sharing/__init__.py
imports: import os
  import warnings
  from abc import abstractmethod, ABC
  from contextlib import contextmanager
  import threading
  import logging
  from .binpickle import persist_binpickle, BPKPersisted
  from .shm import persist_shm, SHMPersisted, SHM_AVAILABLE
label_desc: Use image node_id 3 for calling a global function with example usage: in_share_context() and returns: unknown