<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def stmt_type(obj, mk=True):
 """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. """

    if isinstance(obj, Statement) and mk:
        return type(obj)
    else:
        return type(obj).__name__