code: def is_looking_for_group(self):
      return self.lock_looking_for_group.locked()
  
imports: from __future__ import annotations
  import asyncio
  import concurrent.futures
  import contextlib
  import random
  from math import isfinite
  from typing import AsyncIterator, Dict, Optional, Set, Tuple, Type
  from hivemind.averaging.control import StepControl
  from hivemind.averaging.group_info import GroupInfo
  from hivemind.averaging.key_manager import GroupKey, GroupKeyManager
  from hivemind.dht import DHT, DHTID
  from hivemind.p2p import P2P, P2PContext, P2PDaemonError, P2PHandlerError, PeerID, ServicerBase
  from hivemind.proto import averaging_pb2
  from hivemind.utils import DHTExpiration, TimedStorage, get_dht_time, get_logger, timed_storage
  from hivemind.utils.asyncio import anext, cancel_and_wait
label_desc: Use image node_id 2 for calling the Matchmaking obj's underlying member method code with example usage: obj.is_looking_for_group() and returns: self