protected Predicate<GHRepository> withAdminAccess() {
        return new NullSafePredicate<GHRepository>() {
            @Override
            protected boolean applyNullSafe(@Nonnull GHRepository repo) {
                return repo.hasAdminAccess();
            }
        };
    }
protected Predicate < GHRepository > withAdminAccess ( ) { return new NullSafePredicate < GHRepository > ( ) { @ Override protected boolean applyNullSafe ( @ Nonnull GHRepository repo ) { return repo . hasAdminAccess ( ) ; } } ; }
Filters repos with admin rights (to manage hooks)

@return true if we have admin rights for repo