public static boolean isOn(String option){
  if (args == null)   return false;
 else {
    if (args.indexOf("all") != -1)     return true;
 else     return (args.indexOf(option) != -1);
  }
}

public static boolean isOn ( String option ) { if ( args == null ) return false ; else { if ( args . indexOf ( "all" ) != - 1 ) return true ; else return ( args . indexOf ( option ) != - 1 ) ; } }
true if the system property " security . debug " contains the string " option " .
