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

def is_valid_lsa_arrival_interval(self):

    if (self.lsaainterval is None):
        return False
    if (not self.lsaainterval.isdigit()):
        return False
    if ((int(self.lsaainterval) > 10000) or (int(self.lsaainterval) < 0)):
        return False
    return True
