<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def up(self):
 """Go up in stack and return True if top frame"""

        if self.frame:
            self.frame = self.frame.f_back
            return self.frame is None