}
EntityManager em = null;
try {
em = AppCatalogJPAUtils.getEntityManager();
LibraryPrepandPath prepandPath = em.find(LibraryPrepandPath.class,
new LibraryPrepandPath_PK(ids.get(LibraryPrepandPathConstants.DEPLOYMENT_ID),
ids.get(LibraryPrepandPathConstants.NAME)));
em.close();
return prepandPath != null;
} catch (ApplicationSettingsException e) {
logger.error(e.getMessage(), e);