def find_template(self, name):
deftemplate = lib.EnvFindDeftemplate(self._env, name.encode())<EOL>if deftemplate == ffi.NULL:<EOL><INDENT>raise LookupError("<STR_LIT>" % name)<EOL><DEDENT>return Template(self._env, deftemplate)<EOL>
Find the Template by its name.