old_contents: # coding=utf-8
  import json
  
  from TBFW.constant import *
  from TBFW.exceptions import *
  
  
  class ConfigParser:
  	def __init__(self):
  		if not os.path.isfile(pathConfig):
  			json.dump({}, open(pathConfig, "w"))
  
  		try:
  			config = json.load(open(pathConfig))
  		except:
  			raise InvalidConfigSyntax
  
  		if not "accounts" in config:
  			raise NoAvailableAccountInConfig
  		self.accounts = config["accounts"]
  
  		self.muteClient = config.get("muteClient", [])
  		self.muteUser = config.get("muteUser", [])
  		self.muteDomain = config.get("muteDomain", [])
  
new_contents: # coding=utf-8
  import json
  
  from TBFW.constant import *
  from TBFW.exceptions import *
  
  
  class ConfigParser:
  	def __init__(self):
  		if not os.path.isfile(pathConfig):
  			json.dump({}, open(pathConfig, "w"))
  
  		try:
  			config = json.load(open(pathConfig))
  		except:
  			raise InvalidConfigSyntax
  
  		if "accounts" not in config:
  			raise NoAvailableAccountInConfig
  		self.accounts = config["accounts"]
  		for account in self.accounts:
  			if "ck" in account and "cs" in account and "at" in account and "ats" in account and "sn" in account:
  				continue
  			else:
  				raise InvalidConfigSyntax
  
  		self.muteClient = config.get("muteClient", [])
  		self.muteUser = config.get("muteUser", [])
  		self.muteDomain = config.get("muteDomain", [])
  
subject: check in accounts