def METHOD_NAME(self):
    totalAllowedUseForAllTables = 0
    for table in self.targetTables:
        totalAllowedUseForAllTables += table.maxAllowedUseOnQuery
    assert (
        totalAllowedUseForAllTables >= self.targetRteCount
    ), """targetRteCount cannot be greater than sum of maxAllowedUseOnQuery for all tables.
          Set targetRteCount to a lower value or increase maxAllowedUseOnQuery for tables at config.yml."""