def find_function(self, name):
        """Find the Function by its name."""
        deffunction = lib.EnvFindDeffunction(self._env, name.encode())
        if deffunction == ffi.NULL:
            raise LookupError("Function '%s' not found" % name)

        return Function(self._env, deffunction)
Find the Function by its name.