<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def Validate(self, win):
 """Returns True if Value in digits, False otherwise"""


        val = self.GetWindow().GetValue()

        for x in val:
            if x not in string.digits:
                return False

        return True