docs: static boolean hasAppManagedPC(Collection<InjectionBinding<?>> injectionBindings,
                                     String ejbName,
                                     Set<String> persistenceRefNames)
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "hasAppManagedPC : " +
                           ((injectionBindings != null)
                                           ? ("<" + injectionBindings.size() + "> :" + injectionBindings)
                                           : "No Injection Bindings"));
  
          boolean rtnValue = false;
          if (injectionBindings != null && injectionBindings.size() > 0)
          {
              for (InjectionBinding<?> binding : injectionBindings)
              {
                  if (binding instanceof JPAPUnitInjectionBinding)
                  {
                      if (isTraceOn && tc.isDebugEnabled())
                          Tr.debug(tc, "persistence-unit-ref name=" + binding.getJndiName() +
                                       " contains component=" + ejbName);
  
                      JPAPUnitInjectionBinding puBinding = (JPAPUnitInjectionBinding) binding;
                      if (puBinding.containsComponent(ejbName)) // F743-30682
                      {
                          rtnValue = true;
  
                          if (persistenceRefNames != null) // F743-30682
                          {
                              persistenceRefNames.add(puBinding.getJndiName());
                          }
                      }
                  }
              }
          }
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "hasAppManagedPC : " + rtnValue);
          return rtnValue;
      }