Validate a snake_case name.
bool isValidSnakeCase(String input) { return RegExp(r'^[a-z][a-z0-9_]*$').hasMatch(input); }