Simplify `contains-display-value`