'Filter template that contains \'latex\' from templates.
Show them only if use_latex_compiler is set to True in
course settings.'

@classmethod
def filter_templates(cls, template, course):

    return (('latex' not in template['template_id']) or course.use_latex_compiler)
