code: def Validate(self, win):
          
  
          val = self.GetWindow().GetValue()
  
          for x in val:
              if x not in string.digits:
                  return False
  
          return True
docs: Returns True if Value in digits, False otherwise