async def METHOD_NAME(self, update, context):
    self.test_flag = (
        isinstance(context, CallbackContext)
        and isinstance(context.bot, Bot)
        and isinstance(update, Update)
        and isinstance(context.update_queue, asyncio.Queue)
        and isinstance(context.job_queue, JobQueue)
        and isinstance(context.user_data, dict)
        and isinstance(context.chat_data, dict)
        and isinstance(context.bot_data, dict)
        and isinstance(update.chat_member or update.my_chat_member, ChatMemberUpdated)
    )