@staticmethod
def _is_limit_reached(number, limit):
    """ Helper function """
    if limit is None:
        return False
    if limit < 0:
        return False
    if limit >= number:
        return True
