Checks whether the provided input string contains any invalid characters
the string to check
true if so, false otherwise
See Implementation
Checks whether the provided input string contains any invalid characters