code: public static boolean isSafeString(String string0) {
          for (int i = 0; i < string0.length(); i++) {
              if (!isSafeChar(string0.charAt(i))) {
                  return false;
              }
          }
          return true;
      }
docs: Returns true if the String is considered a "safe" string where only specific
  characters are allowed to be used.  Useful for checking passwords or other
  information you don't want a user to be able to type just anything in.
  This method does not allow any whitespace characters, newlines, carriage returns.
  Primarily allows [a-z] [A-Z] [0-9] and a few other useful ASCII characters
  such as ":~!@#$%^*()-_+=/\\,.[]{}|?<>" (but not the quote chars)