if(host ==null){
HibernateUtil hu=new HibernateUtil(ContentletVersionInfo.class);
hu.setQuery("from "+ContentletVersionInfo.class.getName()+" where identifier=?");
hu.setParam(id);
ContentletVersionInfo vinfo=(ContentletVersionInfo) hu.load();
if(vinfo!=null && UtilMethods.isSet(vinfo.getIdentifier())) {
String hostInode=vinfo.getWorkingInode();
Contentlet cont= APILocator.getContentletAPI().find(hostInode, APILocator.getUserAPI().getSystemUser(), respectFrontendRoles);
Structure st = StructureCache.getStructureByVelocityVarName("Host");
if(cont.getStructureInode().equals(st.getInode())) {