<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __ensure_suffix(t, suffix):
 """ Ensure that the target t has the given suffix. """

    tpath = str(t)
    if not tpath.endswith(suffix):
        return tpath+suffix
    
    return t