docs: @SuppressWarnings({ "squid:S1166", "squid:S2221", "squid:S2629" })
      boolean isValidDropTarget(final UIDL configuration) {
          try {
              final String dropTarget = VDragAndDropManager.get().getCurrentDropHandler().getConnector().getWidget()
                      .getElement().getId();
              final int dropTargetCount = configuration.getIntAttribute(DROP_TARGET_COUNT);
              for (int dropTargetIndex = 0; dropTargetIndex < dropTargetCount; dropTargetIndex++) {
                  final String dropTargetPrefix = configuration.getStringAttribute(DROP_TARGET + dropTargetIndex);
                  LOGGER.log(Level.FINE, "Drop Target: " + dropTargetPrefix);
                  if (dropTarget.startsWith(dropTargetPrefix)) {
                      return true;
                  }
              }
          } catch (final Exception e) {
              // log and continue
              LOGGER.log(Level.SEVERE, "Error verifying drop target: " + e.getLocalizedMessage());
          }
          return false;
      }