docs: @SuppressWarnings({ "squid:S1166", "squid:S2221" })
      boolean isValidDragSource(final VDragEvent drag, final UIDL configuration) {
          try {
              final String dragSource = drag.getTransferable().getDragSource().getWidget().getElement().getId();
              final String dragSourcePrefix = configuration.getStringAttribute(DRAG_SOURCE);
              if (dragSource.startsWith(dragSourcePrefix)) {
                  return true;
              }
          } catch (final Exception e) {
              // log and continue
              LOGGER.log(Level.SEVERE, "Error verifying drag source: " + e.getLocalizedMessage());
          }
  
          return false;
      }