def is_integer(value):

    if value is None:
        return

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