code: def leak_set(leak):
      """Enable or disable libvips leak checking.
  
      With this enabled, libvips will check for object and area leaks on exit.
      Enabling this option will make libvips run slightly more slowly.
      """
  
      return vips_lib.vips_leak_set(leak)
  
file_path: pyvips/pyvips/base.py
imports: from pyvips import ffi, glib_lib, vips_lib, gobject_lib, _to_string, _to_bytes, Error
label_desc: Use image node_id 1 for calling a global function with example usage: leak_set(leak) and returns: vips_lib