code: def _validate_arg_nonnegative(args, arg_name):
      value = getattr(args, arg_name)
      if value is not None and value < 0:
          raise ValueError("{}={} must be >= 0".format(arg_name, value))
  
imports: import logging
label_desc: Use image node_id 3 for calling a global function with example usage: _validate_arg_nonnegative(args, arg_name) without return types