Null check for isBuilding()