def condition_satisfied(emotion_map):
    for emotion_class in emotion_map.keys():
        path = os.path.join(FACE_IMAGES_PATH, emotion_class)
        if (not os.path.exists(path)):
            logger.error('Please capture images for "{}" emotion-class as well'.format(emotion_class))
            logger.error('FAIL.')
            return False
    return True
def condition_satisfied(emotion_map):
    for emotion_class in emotion_map.keys():
        path = os.path.join(FACE_IMAGES_PATH, emotion_class)
        if (not os.path.exists(path)):
            logger.error('Please capture images for "{}" emotion-class as well'.format(emotion_class))
            logger.error('FAIL.')
            return False
    return True