src/vs/base/browser/ui/grid/gridview.ts/GridView/isViewSizeMaximized
class GridView:	isViewSizeMaximized(location: GridLocation): boolean {
		const [ancestors, node] = this.getNode(location);

		if (!(node instanceof LeafNode)) {
			throw new Error('Invalid location');
		}

		for (let i = 0; i < ancestors.length; i++) {
			if (!ancestors[i].isChildSizeMaximized(location[i])) {
				return false;
			}
		}

		return true;
	}