code: public static boolean isTemplatePath(String string) {
          int sz = string.length();
          if (sz == 0) {
              return true;
          }
          for (int i = 0; i < sz; ++i) {
              char c = string.charAt(i);
              switch (c) {
                  case ' ':
                  case '\t':
                  case '\b':
                  case '<':
                  case '>':
                  case '(':
                  case ')':
                  case '[':
                  case ']':
                  case '{':
                  case '}':
                  case '!':
                  case '@':
                  case '#':
                  case '*':
                  case '?':
                  case '%':
                  case '|':
                  case ',':
                  case ':':
                  case ';':
                  case '^':
                  case '&':
                      return false;
              }
          }
          return true;
      }
docs: Check if a given string is a template path or template content
  
  If the string contains anyone the following characters then we assume it
  is content, otherwise it is path:
  
  * space characters
  * non numeric-alphabetic characters except:
  ** dot "."
  ** dollar: "$"
  
  @param string
  the string to be tested
  @return `true` if the string literal is template content or `false` otherwise