boolean (String name) { if (name.isEmpty() || PathMacros.getInstance().getSystemMacroNames().contains(name)) { return false; } return PathMacrosCollector.MACRO_PATTERN.matcher("$" + name + "$").matches(); }