bool isNotEmpty

Source

bool get isNotEmpty => length != 0;