code: def test_sdtcontrol_v0501(test_images):
      fname = test_images / "test_v0501_000_.SPE"
      md = iio.immeta(fname)
      assert md.get("bleach_piezo_active") is False
      assert md.get("sdt_major_version") == 3
      assert md.get("sdt_minor_version") == 4
      assert md.get("datetime") == datetime(2023, 5, 3, 15, 13, 16)
  
file_path: imageio/tests/test_spe.py
imports: from datetime import datetime
  import os
  import shutil
  import struct
  import numpy
  import pytest
  import imageio.v3
  from imageio.plugins import spe
label_desc: Use image node_id 5 for calling a global function with example usage: test_sdtcontrol_v0501(test_images) without return types