code: def has_bad_inputs(input_args):
      """
      Check if all input params have been properly set in the configuration file.
      :param input_args:
      :return:
      """
      is_bad = False
      for section in input_args:
          section_args = input_args[section]
          for input_arg in vars(section_args):
              user_value = getattr(section_args, input_arg)
              if user_value is None:
                  print(
                      "{} not set in section [{}] the config file".format(
                          input_arg, section
                      )
                  )
                  is_bad = True
  
      return is_bad
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import datetime
  import os
  import re
  from functools import partial
  import numpy
  import tensorflow
  from scipy import ndimage
  from six import string_types
label_desc: Use image node_id 6 for calling a global function with example usage: has_bad_inputs(input_args) and returns: is_bad