return a bool Either valid or NOT
@override bool isValid(String input) => input.trim().startsWith(pattern);