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

@return predicate to match against {@link GitHubServerConfig}