code: def stmt_type(obj, mk=True):
      
      if isinstance(obj, Statement) and mk:
          return type(obj)
      else:
          return type(obj).__name__
docs: Return standardized, backwards compatible object type String.
  
      This is a temporary solution to make sure type comparisons and
      matches keys of Statements and related classes are backwards
      compatible.