Slight speed optimization
Undo optimization in document_has_artboards()