AirPlaying Apple Music to HomePod

I often stream music from my iPhone to a Bluetooth speaker when at home. I keep on wondering if the HomePod, since it should have access to my account, will takeover the AirPlay stream if I want it to. That would be preferable — if I leave, the HomePod can just keep on playing if my family is home.