bool hasValidInput(String input) { final symbols = input.split(''); return symbols.every(alphabet.contains); }