code: def is_categorical(supervised_loss):
      loss = keras.losses.get(supervised_loss)
      if loss in get_categorical_losses():
          return True
      return False
  
imports: import functools
  from tensorflow.keras import backend
  import tensorflow
  from tensorflow import keras
  import numpy
  from .distances import euclidean_distance, manhattan_distance, chebyshev_distance, cosine_distance
label_desc: Use image node_id 8 for calling a global function with example usage: is_categorical(supervised_loss) and returns: False, True