code: def test_response_is_censored():
      df = pd.DataFrame(
          {
              "x": [1, 2, 3, 4, 5],
              "status": ["none", "right", "interval", "left", "none"],
          }
      )
      dm = bmb.Model("censored(x, status) ~ 1", df)
      assert dm.response_component.response_term.is_censored 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 27 for calling a global function with example usage: test_response_is_censored() without return types