Streamlined ArrayNode::isMultidimensional().