Allow function chaining for api utils
Add isBlocked util