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

def isvalidlsaoholdinterval(self):

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