code: def _check_size(size):
      if size != 1 and size != 2 and size != 4:
          raise error("Size should be 1, 2 or 4")
  
imports: import math
  import struct
  from ctypes import create_string_buffer
label_desc: Use image node_id 1 for calling a global function with example usage: _check_size(size) without return types