code: private static boolean isSigarAlreadyLoaded() throws Exception {
          final String libraryName = new SigarLoader(Sigar.class).getLibraryName();
          final Field loadedLibraryNames = ClassLoader.class.getDeclaredField("loadedLibraryNames");
  		loadedLibraryNames.setAccessible(true);
          final Collection<String> libraries = (Collection<String>) loadedLibraryNames.get(SigarProvisioner.class.getClassLoader());
  
          for (String library: libraries) {
              if(library.contains(libraryName)) return true;
          }
          return false;
      }
docs: Check silently if sigar was loaded in order to avoid the SigarException: no libsigar-*.
  
  @return true, if Sigar native library is present in the ClassLoader otherwise false.
  @throws IllegalAccessException
  @throws NoSuchFieldException