public boolean isControlled(Instance instance) { if (instance.getIdentifier() instanceof UnnumberedAnonymousID) return false; for (Controlled mode : signature.listControlledModes()) { if (reasoner.isMemberOf((IRI) state.getIdentifier(), instance, mode.getConcept())) return true; } return false; }
public boolean isControlledConcept(Concept concept) { for (Controlled mode : signature.listControlledModes()) { if (concept.equals(mode.getConcept())) return true; } return false; }