code: public boolean hasPermissionsById(String id, Permission... permissions) {
          return hasPermissionsById(id, Arrays.asList(permissions));
      }
docs: Test for whether an API key has specific permissions using its ID.