code: def _match(path: str, value: t.Union[str, float, int, bool]):
      return [
          {"$match": {path: value}},
          {"$project": {"_id": True}},
          {"$limit": 1},
      ]
  
imports: from dataclasses import asdict, dataclass
  from datetime import date, datetime
  import math
  import typing
  import asyncio
  from bson.regex import Regex
  from motor.motor_asyncio import AsyncIOMotorCollection
  import strawberry
  import fiftyone
  import fiftyone.core.fields
  import fiftyone.server.constants
  from fiftyone.server.data import Info
  from fiftyone.server.utils import meets_type
label_desc: Use image node_id 4 for calling a global function with example usage: _match(path, value) and returns: list