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

def isvalidlsamaxarrivalinterval(self):

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