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

def isvalidlsaholdarrivalinterval(self):

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