code: private boolean canProxy(Class<?>... proxyInterfaces) {
      return stream(proxyInterfaces).filter(proxyInterface -> !NON_PROXYABLE_TYPES.contains(proxyInterface))
        .anyMatch(Class::isInterface);
    }
docs: Determines whether any of the given {@link Class interfaces} can be proxied with a JDK Dynamic Proxy.
  
  @param proxyInterfaces array of {@link Class interfaces} to evaluate.
  @return a boolean value indicating whether any of the given {@link Class interfaces} can be proxied
  with a JDK Dynamic Proxy.
  @see java.lang.Class