@classmethod
    def _validate(cls, message):
        valid = False
        if(('name' in message and 'value' in message) or
                ('id' in message and 'data' in message)):
            valid = True
        return valid
Confirm the validitiy of a given dict as an OpenXC message.
dataset/ETHPy150Open openxc/openxc-python/openxc/formats/json.py/JsonFormatter._validate