def isValid(self, value):
        if value is None:
            return True

        if not isinstance(value, str):
            value = str(value)

        return self.isValidString(value)
Tests if the given value is a valid string.
dataset/ETHPy150Open rwl/muntjac/muntjac/data/validators/abstract_string_validator.py/AbstractStringValidator.isValid