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

public boolean isInstallMode ( ) { return scenario . equals ( PropertyConstants . INSTALL_MODE ) ? true : false ; }
check if installer is running at install mode .
