boolean (String name) { if (PathMacros.getInstance().getSystemMacroNames().contains(name)) { return true; } for (Couple<String> macro : myMacros) { if (name.equals(macro.getFirst())) { return true; } } return false; }