def is_test_table(table):
  if 'tst' in table.cluster.name:
    return True
  if 'test' in table.cluster.name:
      return True

  if 'longhaul' in table.name:
   return True
  if table.name in 'test':
     return True

  return False

#url: /table
dataset/ETHPy150Open XiaoMi/minos/owl/monitor/views.py/is_test_table/swapped operands of `in`