code: def validate(self, value: int):
          ''' Validates the integer is in the value range. '''
          if not isinstance(value, int):
              raise ValueError('value is not an integer')
  
          if self.minimum > value or self.maximum < value:
              msg = (
                  '{} is outside the valide range [{},{}]'
              ).format(value, self.minimum, self.maximum)
              raise ValueError(msgf validate(self, value: int):
          ''' Validates the integer is in the value range. '''
          if not isinstance(value, int):
              raise ValueError('value is not an integer')
  
          if self.minimum > value or self.maximum < value:
              msg = (
                  '{} is outside the valide range [{},{}]'
              ).format(value, self.minimum, self.maximum)
              raise ValueError(msg)
docs: Validates the integer is in the value range.