public boolean isConfigMode(){
  return scenario.equals(PropertyConstants.CONFIG_MODE) ? true : false;
}

public boolean isConfigMode ( ) { return scenario . equals ( PropertyConstants . CONFIG_MODE ) ? true : false ; }
check if installer is running at config mode .
