bool valid_ns(char c)