def METHOD_NAME(self):
    ser = HardEncodeVulSerializer(data=self.detail)
    try:
        if ser.is_valid(True):
            pass
    except ValidationError:
        self.validated = False
        return
    self.validated = True
    for k, v in ser.validated_data.items():
        setattr(self, k, v)