Types other than String can be grouped into checking isBlank() to determine if the typed entity contains a value.