It is a little faster to use `value.isEmpty()` rather than comparing to an empty string.