def METHOD_NAME(self, ifile=None, *args, **kwargs):
    """Choose template page handler based on templates engine"""
    if  self.jinja and self.templatedir.find("jinja") != -1:
        return self.templatepage_jinja(ifile, *args, **kwargs)
    return self.templatepage_cheetah(ifile, *args, **kwargs)