'check whether the input ospf spf millisecond level interval is valid'

def is_valid_spf_milli_interval(self):

    if (not self.spfintervalmi.isdigit()):
        return False
    if ((int(self.spfintervalmi) > 10000) or (int(self.spfintervalmi) < 1)):
        return False
    return True
