async def corofunc():
            nonlocal called
            called = True
            return "some arbitrary value"
def _find_user(self, dn):
        return next(i for (i, d) in enumerate(self.directory) if d["dn"] == dn)