code: def test_no_terms():
      """
      Tests the length of the latent variable vector for an GASX model
      with no AR or SC terms, and tests that the values are not nan
      """
      assert len(model_1.latent_variables.z_list) == 4
      lvs = np.array([i.value for i in model_1.latent_variables.z_list])
      assert len(lvs[np.isnan(lvs)]) == 0
  
imports: import numpy
  import pandas
  import pyflux
label_desc: Use image node_id 1 for calling a global function with example usage: test_no_terms() without return types