docs: public boolean hasCurrentUserGotRoleForDomain(Role role, String domain) {
          try {
              DomainRoleEntryEntity domainRoleEntry = findByUserIdAndRole(joynrCallingPrincipal.getUsername(), role);
              return domainRoleEntry != null && domainRoleEntry.getDomains().contains(domain);
          } catch (ContextNotActiveException e) {
              logger.debug("No joynr message scope context active. Defaulting to 'true'.");
          }
          return true;
      }