code: @Override
      public boolean hasObjectWithPrefix(JavaColonNamespace namespace, String name) throws NamingException {
  
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "hasObjectWithPrefix (" + namespace + ", " + name + ")");
  
          OSGiInjectionScopeData isd = getInjectionScopeData(namespace);
          boolean result = isd != null && isd.hasObjectWithPrefix(namespace, name);
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "hasObjectWithPrefix", result);
  
          return result;
      }
docs: {@inheritDoc}