def METHOD_NAME(self):
    if isinstance(self.value, list) and len(self.value) != 4:
        raise ValueError(
            f"Expected 4 values but got {len(self.value)} for {self.name}"
        )
    elif not isinstance(self.value, (list, int)):
        raise ValueError(f"Got unexpected type for {self.name}: {self.value!r}")