public static boolean isCategoryTop(ServletRequest request,String productCategoryId){
  return isCategoryTop((Delegator)request.getAttribute("delegator"),(LocalDispatcher)request.getAttribute("dispatcher"),productCategoryId);
}

public static boolean isCategoryTop ( ServletRequest request , String productCategoryId ) { return isCategoryTop ( ( Delegator ) request . getAttribute ( "delegator" ) , ( LocalDispatcher ) request . getAttribute ( "dispatcher" ) , productCategoryId ) ; }
scipio : returns true only if the category id is a top category . < p > note : is caching
