code: public static ACL lambda(final BiFunction<Authentication, Permission, Boolean> impl) {
          return new ACL() {
              @Override
              public boolean hasPermission(Authentication a, Permission permission) {
                  return impl.apply(a, permission);
              }
          };
      }
docs: Creates a simple {@link ACL} implementation based on a “single-abstract-method” easily implemented via lambda syntax.
  @param impl the implementation of {@link ACL#hasPermission(Authentication, Permission)}
  @return an adapter to that lambda
  @since 2.105