from tipbot import config def is_tg_admin(chat_id): if chat_id == config.TG_ADMIN_ID: return True else: return False