Classifier between Cortex and Soltra.
        Soltra uses name-TLP, and Cortex "value-TLP"

def tlp_classifiers(self, name_tlp, val_tlp):
        '''
        Classifier between Cortex and Soltra.
        Soltra uses name-TLP, and Cortex "value-TLP"
        '''

        classifier = {
            "WHITE": 0,
            "GREEN": 1,
            "AMBER": 2,
            "RED": 3
        }

        valid = True

        if classifier[name_tlp] > val_tlp:
            valid = False

        return valid