How do I check if a bot is in a voice channel?

I'm coding a music bot for my own use only and I would like to stop the bot joining a channel if another bot is currently in it. What could be the if statement?
Was this page helpful?