there's a z.capabilities in the devhub code, would it make sense to put this check in there?