def METHOD_NAME(self):
    if session['id'] in args.telegram_blacklisted_users:
        session['has_permission'] = False
        session['access_config_name'] = None
        return
    user_chats = []
    for chat_id in self.chats_to_fetch:
        if self._is_chat_member(chat_id, session['id']):
            user_chats.append(chat_id)
    # Admins bypass other whitelists/blacklists.
    if session['id'] in args.telegram_admins:
        session['has_permission'] = True
        config_name = self._get_access_config_name(user_chats)
        session['access_config_name'] = config_name
        session['access_data_updated_at'] = time.time()
        return
    in_required_chat = any(chat_id in user_chats
                           for chat_id in self.telegram_required_chats)
    if self.telegram_required_chats and not in_required_chat:
        session['has_permission'] = False
        session['access_config_name'] = None
        return
    session['has_permission'] = True
    config_name = self._get_access_config_name(user_chats)
    session['access_config_name'] = config_name
    session['access_data_updated_at'] = time.time()