}
EntityManager em = null;
try {
em = AppCatalogJPAUtils.getEntityManager();
AppModuleMapping moduleMapping = em.find(AppModuleMapping.class,
new AppModuleMapping_PK(ids.get(AppModuleMappingConstants.INTERFACE_ID),
ids.get(AppModuleMappingConstants.MODULE_ID)));
em.close();
return moduleMapping != null;
} catch (ApplicationSettingsException e) {
logger.error(e.getMessage(), e);