def get_emission_features(self, sequence, pos, y):
        all_feat = []
        x = sequence.x[pos]
        if(x not in self.node_feature_cache):
            self.node_feature_cache[x] = {}
        if(self.node_feature_cache[x] not in y):
            node_idx = []
            node_idx = self.add_emission_features(sequence, pos, y, node_idx)
            self.node_feature_cache[x][y] = node_idx
        idx = self.node_feature_cache[x][y]
        all_feat = idx[:]
        return all_feat



    #f(t,y_t,y_(t-1),X)
    ##Speed up of code
dataset/ETHPy150Open LxMLS/lxmls-toolkit/lxmls/sequences/id_feature.py/IDFeatures.get_emission_features/swapped operands of `not in`