code: def get_ignore(
      default: Optional[List[str]] = None, env: Optional[Env] = None
  ) -> Optional[List[str]]:
      if env is None:
          env = os.environ
      ignore = env.get(IGNORE)
      if ignore is not None:
          return ignore.split(",")
      else:
          return default
  
imports: import json
  import os
  import sys
  from distutils.util import strtobool
  from pathlib import Path
  from typing import List, MutableMapping, Optional, Union
  import appdirs
label_desc: Use image node_id 12 for calling a global function with example usage: get_ignore(default, env) and returns: ignore, default