I suppose that should be fast/efficient if done in boolean context.
In reply to Re^2: lazy creation of a hash by John M. Dlugosz in thread lazy creation of a hash by John M. Dlugosz