code: def write_nop(fid, last=False):
      """Write a FIFF_NOP."""
      fid.write(np.array(FIFF.FIFF_NOP, dtype=">i4").tobytes())
      fid.write(np.array(FIFF.FIFFT_VOID, dtype=">i4").tobytes())
      fid.write(np.array(0, dtype=">i4").tobytes())
      next_ = FIFF.FIFFV_NEXT_NONE if last else FIFF.FIFFV_NEXT_SEQ
      fid.write(np.array(next_, dtype=">i4").tobytes())
  
imports: import os.path
  import re
  import time
  import uuid
  from contextlib import contextmanager
  from gzip import GzipFile
  import numpy
  from scipy.sparse import csc_matrix, csr_matrix
  from ..utils import _file_like, _validate_type, logger
  from ..utils.numerics import _cal_to_julian
  from .constants import FIFF
label_desc: Use image node_id 3 for calling a global function with example usage: write_nop(fid, last) without return types