code: def value_is_int(self):
          
          try:
              a = float(self.value)
              b = int(a)
          except ValueError:
              return False
          else:
              return a == b
docs: Identify whether the value text is an int.