def get_final_features(self, sequence, y_prev):
        if(self.final_state_feature_cache not in y_prev):
            edge_idx = []
            edge_idx = self.add_final_features(sequence, y_prev, edge_idx)            
            self.final_state_feature_cache[y_prev] = edge_idx
        return self.final_state_feature_cache[y_prev]
dataset/ETHPy150Open LxMLS/lxmls-toolkit/lxmls/sequences/id_feature.py/IDFeatures.get_final_features/swapped operands of `not in`