def is_unique(df, cols, ignore_null=False):
    """Fast determination of multi-column uniqueness."""
    if ignore_null:
        df.dropna(subset=cols, inplace=True)
    return not (df.duplicated(subset=cols)).any()