def first_measurer_I_D(uniquePairsDf):
    """
    first_measurer_I_D: computes the drastic inconsistency measure I_d.
    This function checks whether the result of the query that finds the violating pairs of tuples is empty.
    In case it is empty ,the database is consistent. Otherwise, it is inconsistent.
    
    Parameters
    ----------
    uniquePairsDf : dataframe
        the result of the query that finds all pairs of tuples that jointly violate a constraint.
        
    Returns
    -------
    int
        0 if database is consistent, and 1 otherwise
    """  
    if len(uniquePairsDf):
        return 1
    return 0