`@elements.has_key?(value)` for slightly better perf.