public static boolean isFedora(){
  getLinuxRelease();
  return linuxRelease != null && linuxRelease.contains("Fedora");
}

public static boolean isFedora ( ) { getLinuxRelease ( ) ; return linuxRelease != null && linuxRelease . contains ( "Fedora" ) ; }
returns whether the output of < code > cat / etc / redhat - release / code > shell command contains " fedora "
