def star(df, starred):
    """Assign boolean if any items in the
    dataframe are above the star threshold.
    """
    df['starred'] = df['pident'].apply(lambda x: x >= starred).any()
    return df
