code: public static Predicate<GitHubServerConfig> allowedToManageHooks() {
          return new NullSafePredicate<GitHubServerConfig>() {
              @Override
              protected boolean applyNullSafe(@NonNull GitHubServerConfig github) {
                  return github.isManageHooks();
              }
          };
      }
docs: Returns true if config can be used in hooks managing
  
  @return predicate to match against {@link GitHubServerConfig}