code: def __new__(cls):
      if cls.instance is not None:
          return cls.instance
      else:
          inst = super().__new__(cls)
          cls.instance = inst
          return inst
  
imports: from pathlib import Path
  import subprocess
  import shutil
  import os
  import hashlib
  from snakemake.common import get_snakemake_searchpaths, is_local_file, parse_uri
  from snakemake.exceptions import WorkflowError
  from snakemake.logging import logger
  from snakemake_interface_common.utils import lazy_property
label_desc: Use image node_id 1 for calling the Singularity obj's underlying member method code with example usage: obj.__new__(cls) and returns: cls, inst