code: public static boolean isRunningUnix() {
  		OS os = XRuntimeUtils.determineOS();
  		if(     os.equals(OS.BSD) ||
  				os.equals(OS.LINUX) ||
  				os.equals(OS.MACOSX) ) {
  			return true;
  		} else {
  			return false;
  		}
  	}
docs: Checks whether the current platform is some flavor of Unix.