`isEmpty` doesn't sound quite right. Maybe `isBlank` would be a better name?