<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_topic_tail(self):
 """ Returns ``True`` if the post is the last post of the topic. """

        return self.topic.last_post.id == self.id if self.topic.last_post else False