@Override
public boolean check(List<EObject> roleInstances, EObject object, String operation) throws OperationNotFoundException {
POperation po = operationMatcher.findOperation((PObject) object.eClass(), operation);
if (po == null) {
throw new OperationNotFoundException(MessageFormat.format("Operation {0} can''t be found.", operation), operation);
}
return policyEvaluator.evaluate(roleInstances, object, po);
}