def METHOD_NAME(self, packet, cmd_or_tlm, item):
    if not len(self.parser.parameters) > 2:
        return
    if cmd_or_tlm == StateParser.COMMAND:
        self._get_hazardous_or_disable_messages(item)
    else:
        self._get_state_colors(item)
        packet.update_limits_items_cache(item)