in source/backend/chalicelib/pose.py [0:0]
def _is_mouth_correct(expected, face):
should_smile = expected == 'SMILE'
is_smiling = face['Smile']['Value']
is_mouth_open = face['MouthOpen']['Value']
_log.debug(f'Smiling: {is_smiling} Mouth open: {is_mouth_open}')
return (should_smile and is_smiling and is_mouth_open) or (
not should_smile and not is_smiling and not is_mouth_open)