code: public static synchronized boolean isNativeLoaded() {
          try {
              return isSigarAlreadyLoaded();
          } catch (final Throwable e) {
              try {
                  final Sigar sigar = new Sigar();
                  sigar.getPid();
                  sigar.close();
                  return true;
              } catch (final Throwable ex) {
                  return false;
              }
          }
      }
docs: Verify if sigar native library is loaded and operational.
  
  @return true, if is native library loaded.