code: public static boolean isMacro(String input, String macroName) {
  
          if (isMacro(input)) {
              return input.substring(2, input.length() - 1).equals(macroName);
          }
          return false;
      }
docs: Returns <code>true</code> if the given input String is a macro equal to the given macro name.<p>
  
  @param input the input to check for a macro
  @param macroName the macro name to check for
  
  @return <code>true</code> if the given input String is a macro equal to the given macro name