If you have the latest Steam client beta, you may notice a new Steam Deck icon in your friends list indicating who is on the handheld.
That should make it easier to figure out which of your friends is on the Steam Deck or Big Picture mode, as Steam previously used the gamepad icon for both.
So my friends won’t invite me to play when I’m on the go. No idea if it works on desktop mode though.