code: def test_suggest_metrics(self):
      metrics = utils.suggest_metrics(
          discriminator=False, feature_extractor=False, loss_weights={}
      )
      self.assertTrue("val_loss" in metrics)
      self.assertFalse("val_generator_loss" in metrics)
      metrics = utils.suggest_metrics(
          discriminator=True, feature_extractor=False, loss_weights={}
      )
      self.assertTrue("val_generator_loss" in metrics)
      self.assertFalse("val_feature_extractor_loss" in metrics)
      self.assertFalse("val_loss" in metrics)
      metrics = utils.suggest_metrics(
          discriminator=True, feature_extractor=True, loss_weights={}
      )
      self.assertTrue("val_feature_extractor_loss" in metrics)
      self.assertTrue("val_generator_loss" in metrics)
      self.assertFalse("val_loss" in metrics)
      metrics = utils.suggest_metrics(
          discriminator=False, feature_extractor=True, loss_weights={}
      )
      self.assertTrue("val_feature_extractor_loss" in metrics)
      self.assertTrue("val_generator_loss" in metrics)
      self.assertFalse("val_loss" in metrics)
  
imports: import logging
  import os
  import unittest
  import yaml
  from unittest.mock import patch
  from ISR.utils import utils
label_desc: Use image node_id 19 for calling the UtilsClassTest obj's underlying member method code with example usage: obj.test_suggest_metrics() without return types