code: def _numeric_param_check_range(variable_name, variable_value, range_bottom, range_top):
      
      err_msg = "%s must be between %i and %i"
  
      if variable_value < range_bottom or variable_value > range_top:
          raise ToolkitError(err_msg % (variable_name, range_bottom, range_top))
docs: Checks if numeric parameter is within given range