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

def isvalidlsaostartinterval(self):

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