code: def test_lsi_attributes(_gensim, lsi_model):
      assert (
          lsi_model.model_type == "LSI"
      ), "Model type attribute is incorrect"
      assert isinstance(
          lsi_model.model, _gensim.models.lsimodel.LsiModel
      ), "Model type is incorrect"
      assert lsi_model.num_topics == len(
          lsi_model._model.get_topics()
      ), "Number of topics attribute is incorrect"
      assert (
          len(lsi_model.coherence_values)
          == lsi_model.max_topics - lsi_model.min_topics + 1
      ), "Length of coherence values list attribute is incorrect"
      assert (
          lsi_model.min_topics == 2
      ), "Minimum topics attribute is incorrect"
      assert (
          lsi_model.max_topics == 6
      ), "Maximum topics attribute is incorrect"
  
imports: import pandas
  import numpy
  import matplotlib
  import sklearn
  import pytest
  from data_describe.text.topic_modeling import topic_model
label_desc: Use image node_id 8 for calling a global function with example usage: test_lsi_attributes(_gensim, lsi_model) without return types