def find_instance(self, name, module=None):
module = module if module is not None else ffi.NULL<EOL>definstance = lib.EnvFindInstance(self._env, module, name.encode(), <NUM_LIT:1>)<EOL>if definstance == ffi.NULL:<EOL><INDENT>raise LookupError("<STR_LIT>" % name)<EOL><DEDENT>return Instance(self._env, definstance)<EOL>
Find the Instance by its name.