async def METHOD_NAME(self, chat_id, user_id):
    """
    Get state of a user in a chat.
    """
    response = await self.get_record(chat_id)
    user_id = str(user_id)
    if response:
        if user_id in response:
            return response[user_id]['state']
    return None