/** * [util function] checks whether the given template is cached or not * * @param Dwoo_ITemplate $tpl the template object * @return bool */ public function isCached(Dwoo_ITemplate $tpl) { return is_string($tpl->getCachedTemplate($this)); }