'check whether the input ospf bandwidth reference is valid'

def is_valid_bandwidth(self):

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