def is_string(value):

    if value is None:
        return

    if not isinstance(value, str):
        return c('string')
Ensure the given value is a string.
dataset/ETHPy150Open heiskr/sagefy/server/modules/validations.py/is_string