protected boolean isRequestWithNoProperties(TreeNode<QueryInfo> queryNode) {
    return queryNode.getChildren().isEmpty() &&
        queryNode.getObject().getProperties().size() == 0;
  }
Determine if the query node contains no properties and no children.

@param queryNode  the query node to check

@return true if the node contains no properties or children; false otherwise
ambari-server/src/main/java/org/apache/ambari/server/api/query/render/BaseRenderer.java