code: def is_integer(value,
                 coerce_value = False,
                 minimum = None,
                 maximum = None,
                 base = 10,
                 **kwargs):
      
      try:
          value = validators.integer(value,
                                     coerce_value = coerce_value,
                                     minimum = minimum,
                                     maximum = maximum,
                                     base = base,
                                     **kwargs)
      except SyntaxError as error:
          raise error
      except Exception:
          return False
  
      return True
docs: Indicate whether ``value`` contains a whole number.
  
      :param value: The value to evaluate.
  
      :param coerce_value: If ``True``, will return ``True`` if ``value`` can be coerced
        to whole number. If ``False``, will only return ``True`` if ``value`` is already
        a whole number (regardless of type). Defaults to ``False``.
      :type coerce_value: :class:`bool <python:bool>`
  
      :param minimum: If supplied, will make sure that ``value`` is greater than or
        equal to this value.
      :type minimum: numeric
  
      :param maximum: If supplied, will make sure that ``value`` is less than or
        equal to this value.
      :type maximum: numeric
  
      :param base: Indicates the base that is used to determine the integer value.
        The allowed values are 0 and 2–36. Base-2, -8, and -16 literals can be
        optionally prefixed with ``0b/0B``, ``0o/0O/0``, or ``0x/0X``, as with
        integer literals in code. Base 0 means to interpret the string exactly as
        an integer literal, so that the actual base is 2, 8, 10, or 16. Defaults to
        ``10``.
      :type base: :class:`int <python:int>`
  
      :returns: ``True`` if ``value`` is valid, ``False`` if it is not.
      :rtype: :class:`bool <python:bool>`
  
      :raises SyntaxError: if ``kwargs`` contains duplicate keyword parameters or duplicates
        keyword parameters passed to the underlying validator