def decimal_all_finite(x_dec_list):
    """Check if all elements in list of decimals are finite.

    Parameters
    ----------
    x_dec_list : iterable of Decimal
        List of decimal objects.

    Returns
    -------
    y : bool
        True if all elements are finite.
    """
    y = all(x.is_finite() for x in x_dec_list)
    return y