def is_primary_key(data, column_list):
    """Verify if columns in column list can be treat as primary key

        Parameter
        ---------
        data: pandas dataframe

        column_list: list_like
                     column names in a list

        Return
        ------
        boolean: if true, these columns are unique in combination and can be used as a key
                 if false, these columns are not unique in combination and can not be used as a key
    """

    return data.shape[0] == data.groupby(column_list).size().reset_index().shape[0]