code: def validate_opts(opts, brokers_num):
      
      if opts.skip < 0 or opts.skip >= brokers_num:
          print("Error: --skip must be >= 0 and < #brokers")
          return True
      if opts.check_count < 0:
          print("Error: --check-count must be >= 0")
          return True
      if opts.unhealthy_time_limit < 0:
          print("Error: --unhealthy-time-limit must be >= 0")
          return True
      if opts.check_count == 0:
          print("Warning: no check will be performed")
      if opts.check_interval < 0:
          print("Error: --check-interval must be >= 0")
          return True
      return False
docs: Basic option validation. Returns True if the options are not valid,
      False otherwise.
  
      :param opts: the command line options
      :type opts: map
      :param brokers_num: the number of brokers
      :type brokers_num: integer
      :returns: bool