code: def binary(self):
      # Maybe it's not needed here anymore
      if self.categorical:
          if self.term.levels is None:
              return True
          return len(self.term.levels) == 2
      return None
  
file_path: bambi/bambi/terms/response.py
imports: import formulae.terms
  from bambi.terms.base import BaseTerm
  from bambi.terms.utils import is_response_of_kind
label_desc: Use image node_id 12 for calling the ResponseTerm obj's underlying member method code with example usage: obj.binary() and returns: None, unknown, True