code: public boolean isIBMPackage(String packageName) {
          if (packageName != null) {
              BundlePackages p = populatePackageLists();
              // If we still can't get our list of packages (for example, in unit tests), let everything pass
              if (p != null) {
                  if (p.containsPrivatePackage(packageName)) {
                      return true;
                  } else if (p.containsExportedPackage(packageName)) {
                      // Add an extra check - if this is an exported package, it could be spec or third-party, not IBM
                      SharedPackageInspector inspector = st.getService();
                      if (inspector != null) {
                          PackageType exported = inspector.getExportedPackageType(packageName);
                          // If it's spec, third party, or stable it's not internal - otherwise, it is
                          if ( exported == null )
                              return true;
                          if ( exported.isSpecApi() || exported.isThirdPartyApi() || exported.isStableApi() ) 
                              return false;
                          
                          return true;
                      }
  
                      // If we couldn't get hold of the service, assume it was internal if our bundles export it
                      return true;
                  }
  
              }
          }
          return false;
      }
docs: Returns true if the package is part of the Liberty server, and is *not*
  a boot delegation package, spec package, or third-party package.
  
  @param packageName
  @return