Wrote a function revocable, that takes a func, and can either invoke that func or revoke access to that func