def checkQuantity(q):
    """
    :param q: users entered quantity

    Takes the quantity and checks if it meets the required specifications.
    If it does then return true, if it doesnt then return false.
    """
    if bool(0 < int(q) <= 100):
        return True
    else:
        return False