code: public boolean tableExists(TableReference tableRef) throws IOException {
      try {
        Table fetchedTable = service.tables().get(
            tableRef.getProjectId(), tableRef.getDatasetId(), tableRef.getTableId()).execute();
        logger.atFine().log(
            "Successfully fetched table '%s' for tableRef '%s'", fetchedTable, tableRef);
        return true;
      } catch (IOException ioe) {
        if (errorExtractor.itemNotFound(ioe)) {
          return false;
        } else {
          // Unhandled exceptions should just propagate up.
          throw ioe;
        }
      }
    }
docs: Returns true if the table exists, or false if not.