boolean (String requirementName) { for (ModuleRequires require : getRequires()) { if (Objects.equals(require.getName(), requirementName)) { return require.getFlags().isTransitive(); } } return false; }