remove unused Template::hasAction() method