'check whether the input ospf lsa originate interval is valid'

def is_valid_lsa_originate_interval(self):

    if (not self.lsaointerval.isdigit()):
        return False
    if ((int(self.lsaointerval) > 10) or (int(self.lsaointerval) < 0)):
        return False
    return True
