code: def test_predict_is_nans():
      """
      Tests that the predictions in-sample are not NaNs
      """
      model = ARIMAX(formula="y ~ x1", data=data, ar=2, ma=2)
      x = model.fit()
      x.summary()
      assert (
          len(
              model.predict_is(h=5).values[
                  np.isnan(model.predict_is(h=5).values)
              ]
          )
          == 0
      )
  
imports: import numpy
  import pandas
  from pyflux.arma import ARIMAX
label_desc: Use image node_id 7 for calling a global function with example usage: test_predict_is_nans() without return types