code: def render_template(self, template, **kwargs):
          '''
          Enforce the states in a template
          '''
          high = compile_template(template,
                                  self.rend,
                                  self.opts['renderer'],
                                  self.opts['renderer_blacklist'],
                                  self.opts['renderer_whitelist'],
                                  **kwargs)
          if not high:
              return high
          return self.pad_funcs(highf render_template(self, template, **kwargs):
          '''
          Enforce the states in a template
          '''
          high = compile_template(template,
                                  self.rend,
                                  self.opts['renderer'],
                                  self.opts['renderer_blacklist'],
                                  self.opts['renderer_whitelist'],
                                  **kwargs)
          if not high:
              return high
          return self.pad_funcs(high)
docs: Enforce the states in a template