bool isEmpty(String tagName){ return !verticalLines.containsKey(tagName) && !horizontalLines.containsKey(tagName); }