Use & to check if both is_friend_a and is_friend_b are True.

Make sure to type & is_friend_b.