def in_menu_template(self, template_name):
        if self.in_menus is not None:
            for i, l, t in settings.PAGE_MENU_TEMPLATES:
                if not str(i) in self.in_menus and t == template_name:
                    return False
        return True
dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/pages/models.py/Page.in_menu_template/original