'Get the I{frame} at the top of the stack.
@return: The top I{frame}, else None.
@rtype: L{Frame}'

def top(self):

    if len(self.stack):
        return self.stack[(-1)]
    else:
        return Frame.Empty()
