pub fn validate_loop_input_intent_hint(hint: &str) -> Option<String>
Validate an intent hint; returns an error string when invalid.