code: public boolean isImportingWicket() {
          BundleWiring bundleWiring = bundle.adapt(BundleWiring.class);
          // First check if there is a wiring to any package of org.apache.wicket
          List<BundleWire> importPackageWires = bundleWiring.getRequiredWires(OSGI_WIRING_PACKAGE_NAMESPACE);
          for (BundleWire bundleWire : importPackageWires) {
              BundleRequirement requirement = bundleWire.getRequirement();
              String filter = requirement.getDirectives().get(FILTER_DIRECTIVE);
              if (filter != null) {
                  Matcher matcher = PACKAGE_PATTERN_WICKET.matcher(filter);
                  if (matcher.find()) {
                      return true;
                  }
              }
          }
          List<BundleWire> requireBundleWires = bundleWiring.getRequiredWires(OSGI_WIRING_BUNDLE_NAMESPACE);
          if (!requireBundleWires.isEmpty()) {
              // find all apache.wicket bundles and check if there are wirings...
              Bundle[] bundles = bundleContext.paxBundleContext.getBundles();
              for (Bundle bundle : bundles) {
                  String symbolicName = bundle.getSymbolicName();
                  if (symbolicName.startsWith(APACHE_WICKET_NAMESPACE)) {
                      Map<String, Object> map = createMapWithVersion(OSGI_WIRING_BUNDLE_NAMESPACE, symbolicName,
                          bundle.getVersion());
                      if (hasWireMatchingFilter(requireBundleWires, map)) {
                          return true;
                      }
                  }
              }
          }
          return false;
      }
docs: <p>isImportingWicket.</p>
  
  @return <code>true</code> if this bundle imports anything from the org.apache.wicket Namespace