def Validate_Age(self, Given_Age): clean = Cleaner() result = clean.Clean_Age(Given_Age) error = "" output = False #Checks to see if the Cleaner could clean the Given_Age if (result[0] != None): current_Age = result[0] #Checks to see if current_Age is within the 0-99 range if 0 <= current_Age <= 99: output = True else: error = "Age not between 0 and 99" else: error = result[1] return output, error