Casted another integer return of engine->IsMapValid to bool