def METHOD_NAME(self):
    """
    Returns the lines without trailing empty lines
    Returns:
        list: The lines without empty lines at the end of the list.
    """
    lines = self.lines[:]
    for index in range(len(self.lines) - 1, -1, -1):
        if lines[index] == '':
            del (lines[index])
        else:
            break
    return lines