refactor(state_accessor): add method to check if a user can invite another user See merge request famedly/conduit!621