def has_trailing_character_return(str_multiline: str) -> bool:
    """
    >>> has_trailing_character_return('jhgjh\\n')
    True
    >>> has_trailing_character_return('jhgjh\\ntestt')
    False
    """
    if len(str_multiline) and str_multiline[-1] == '\n':
        preserve_trailing_linefeed = True
    else:
        preserve_trailing_linefeed = False
    return preserve_trailing_linefeed