def is_distribution(distribution):
    """
    Checks if the given mapping is a probability distribution (sums up to 1).

    Parameters
    ==========
    distribution: a mapping from integers to probabilities

    Returns
    =======
    True if values in `distribution` sum up to 1.

    """
    probabilities = distribution.values()
    return round(sum(probabilities), 8) == 1