private boolean isCurrentStatsValidForTheQuery(MTable tbl, String queryValidWriteIdList,
      boolean isCompleteStatsWriter) throws MetaException {
    return isCurrentStatsValidForTheQuery(tbl.getParameters(), tbl.getWriteId(),
        queryValidWriteIdList, isCompleteStatsWriter);
  }
Return true if the current statistics in the Metastore is valid
for the query of the given "txnId" and "queryValidWriteIdList".

Note that a statistics entity is valid iff
the stats is written by the current query or
the conjunction of the following two are true:
~ COLUMN_STATE_ACCURATE(CSA) state is true
~ Isolation-level (snapshot) compliant with the query
@param tbl                    MTable of the stats entity
@param queryValidWriteIdList  valid writeId list of the query
@Precondition   "tbl" should be retrieved from the TBLS table.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java