add private fn: is_valid_char_of_word