Casted integer return of engine->IsMapValid to bool