code: def test_response_is_truncated():
      df = pd.DataFrame({"x": [1, 2, 3, 4, 5]})
      dm = bmb.Model("truncated(x, 5.5) ~ 1", df)
      assert dm.response_component.response_term.is_truncated is True
  
imports: import logging
  from functools import reduce
  from operator import add
  from os.path import dirname, join
  import arviz
  import numpy
  import pandas
  import pymc
  import pytest
  from formulae import design_matrices
  import bambi
  from bambi.terms import CommonTerm, GroupSpecificTerm
label_desc: Use image node_id 28 for calling a global function with example usage: test_response_is_truncated() without return types