def get_cache(subfolder=None, quiet=False):
DISABLE_CACHE = convert2boolean(getenv("<STR_LIT>",<EOL>default=False))<EOL>if DISABLE_CACHE:<EOL><INDENT>SINGULARITY_CACHE = tempfile.mkdtemp()<EOL><DEDENT>else:<EOL><INDENT>userhome = pwd.getpwuid(os.getuid())[<NUM_LIT:5>]<EOL>_cache = os.path.join(userhome, "<STR_LIT>")<EOL>SINGULARITY_CACHE = getenv("<STR_LIT>", default=_cache)<EOL><DEDENT>cache_base = clean_path(SINGULARITY_CACHE)<EOL>if subfolder is not None:<EOL><INDENT>cache_base = "<STR_LIT>" % (cache_base, subfolder)<EOL><DEDENT>mkdir_p(cache_base)<EOL>if not quiet:<EOL><INDENT>bot.debug("<STR_LIT>" % cache_base)<EOL><DEDENT>return cache_base<EOL>
get_cache will return the user's cache for singularity.
    :param subfolder: a subfolder in the cache base to retrieve, specifically