Hello, I'm currently looking for a solution to check the bot login state. Sometimes it happens that the bot is logged out but the system doesn't know that he is. Is there a function to check if the bot is logged in correctly and the session is valid?