Validates that a string is not empty
static bool isNotEmpty(String? value) { return value != null && value.trim().isNotEmpty; }