code: private Boolean isInsideCITemplate(Page page) {
  	SourceCode sc = page.getSourceCode();
  	if (!(sc instanceof PageSourceCode)) return null;
  	PageSource psc = ((PageSourceCode) sc).getPageSource();
  	String src = psc.getDisplayPath();
  	return Constants.isComponentExtension(ResourceUtil.getExtension(src, ""));
  	// int pos=src.lastIndexOf(".");
  	// return pos!=-1 && pos<src.length() && src.substring(pos+1).equals(Constants.COMPONENT_EXTENSION);
      }
docs: is the template ending with a component extension?
  
  @param page
  @return return true if so false otherwse and null if the code is not depending on a template