code: public boolean withDelegateIfRequired(EbeanServer delegate) {
      if (this.delegate == null) {
        withDelegate(delegate);
        return true;
      }
      if (this.delegate instanceof DelegateAwareEbeanServer) {
        // probably using ProxyEbeanServer to capture method calls etc
        return ((DelegateAwareEbeanServer)this.delegate).withDelegateIfRequired(delegate);
      }
      // delegate was not set
      return false;
    }
docs: Set the underlying delegate to proxy requests to.
  <p/>
  Used with the default constructor such that this DelegateEbeanServer
  can be setup prior to having access to the underlying EbeanServer
  that we want to proxy through to.
  <p/>
  Return true if the underling ebeanServer was set.