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

def isvalidlsaoriginatemaxinterval(self):

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