code: def load_config(self, **kwargs):
          
          virgin_config = False
          if not os.path.exists(CONFIG_PATH):
              virgin_config = True
              os.makedirs(CONFIG_PATH)
          if not os.path.exists(CONFIG_FILE):
              virgin_config = True
          if not virgin_config:
              self.config = json.load(open(CONFIG_FILE))
          else:
              self.logger.info('[!] Processing whitelists, this may take a few minutes...')
              process_whitelists()
          if kwargs:
              self.config.update(kwargs)
          if virgin_config or kwargs:
              self.write_config()
          if 'api_key' not in self.config:
              sys.stderr.write('configuration missing API key\n')
          if 'email' not in self.config:
              sys.stderr.write('configuration missing email\n')
          if not ('api_key' in self.config and 'email' in self.config):
              sys.stderr.write('Errors have been reported. Run blockade-cfg '
                               'to fix these warnings.\n')
          try:
              last_update = datetime.strptime(self.config['whitelist_date'],
                                              "%Y-%m-%d")
              current = datetime.now()
              delta = (current - last_update).days
              if delta > 14:
                  self.logger.info('[!] Refreshing whitelists, this may take a few minutes...')
                  process_whitelists()
                  self.config['whitelist_date'] = datetime.now().strftime("%Y-%m-%d")
                  self.write_config()
          except Exception as e:
              self.logger.error(str(e))
              self.logger.info('[!] Processing whitelists, this may take a few minutes...')
              process_whitelists()
              self.config['whitelist_date'] = datetime.now().strftime("%Y-%m-%d")
              self.write_config()
  
          return True
docs: Load the configuration for the user or seed it with defaults.
  
          :return: Boolean if successful