code: def is_native_xmon_op(op: ops.Operation) -> bool:
      
      return (isinstance(op, ops.GateOperation) and
              is_native_xmon_gate(op.gate))
docs: Check if the gate corresponding to an operation is a native xmon gate.
  
      Args:
          op: Input operation.
  
      Returns:
          True if the operation is native to the xmon, false otherwise.