How to know if someone’s your friend