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