static public boolean isForkHappening(){
  String processes=null;
  try {
    processes=getCurrentProcesses();
    return getJavaCmdCount(processes) > 0;
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
catch (  InterruptedException e) {
    e.printStackTrace();
  }
  return true;
}

static public boolean isForkHappening ( ) { String processes = null ; try { processes = getCurrentProcesses ( ) ; return getJavaCmdCount ( processes ) > 0 ; } catch ( IOException e ) { e . printStackTrace ( ) ; } catch ( InterruptedException e ) { e . printStackTrace ( ) ; } return true ; }
todo : resolve circular dependency with utilities class
