def is_unlimited(rate_limit):
    """
    Check whether a rate limit is None or unlimited (indicated by '-1').

    :param rate_limit: the rate limit to check
    :return: bool
    """
    return rate_limit is None or rate_limit == -1