class_docstr: Wrapper around an MPS event.
  
  MPS events are synchronization markers that can be used to monitor the
  device's progress, to accurately measure timing, and to synchronize MPS streams.
  
  Args:
      enable_timing (bool, optional): indicates if the event should measure time
          (default: ``False``)
docstr: Returns True if all work currently captured by event has completed.
docstr_tok: ["Returns","True","if","all","work","currently","captured","by","event","has","completed","."]
code: def query(self):
      r"""Returns True if all work currently captured by event has completed."""
      return torch._C._mps_queryEvent(self.__eventId)
  
file_path: pytorch/torch/mps/event.py
imports: import torch
label_desc: Use image node_id 5 for calling the Event obj's underlying member method code with example usage: obj.query() and returns: torch