docs: private static void ensureProjectMember(ProjectMetadata project, User user) {
          requireNonNull(project, "project");
          requireNonNull(user, "user");
  
          checkArgument(project.members().values().stream().anyMatch(member -> member.login().equals(user.id())),
                        user.id() + " is not a member of the project " + project.name());
      }