UActorFolder::SetIsInitiallyExpanded

Control whether the folder is initially expanded or not.