code: def add_parameter(class_object, kwargs, parameter, default=None):
      if parameter in kwargs:
          setattr(class_object, parameter, kwargs.get(parameter))
      else:
          setattr(class_object, parameter, default)
  
file_path: DeepNeuro/deepneuro/utilities/util.py
imports: import glob
  import math
  import numpy
  import os
  import fnmatch
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: add_parameter(class_object, kwargs, parameter, default) without return types