code: def is_balanced(lang_1, lang_2):
      return 0.85 < lang_1 / lang_2 < 1.2
  
file_path: TTS/tests/data_tests/test_samplers.py
imports: import functools
  import random
  import unittest
  import torch
  from TTS.config.shared_configs import BaseDatasetConfig
  from TTS.tts.datasets import load_tts_samples
  from TTS.tts.utils.data import get_length_balancer_weights
  from TTS.tts.utils.languages import get_language_balancer_weights
  from TTS.tts.utils.speakers import get_speaker_balancer_weights
  from TTS.utils.samplers import BucketBatchSampler, PerfectBatchSampler
label_desc: Use image node_id 1 for calling a global function with example usage: is_balanced(lang_1, lang_2) and returns: unknown