in source/backend/chalicelib/pose.py [0:0]
def _is_eye_opposite_direction(direction, expected):
return (direction == 'LOOKING_LEFT' and expected == 'LOOKING_RIGHT') or (
direction == 'LOOKING_RIGHT' and expected == 'LOOKING_LEFT')