Detect players joining game from same party?

Curious if its possible to detect when players join our game from the same party?

Hoping to know if two people joined together.