def get_parent_folder(self):
if self.root:<EOL><INDENT>return None<EOL><DEDENT>if self.parent:<EOL><INDENT>return self.parent<EOL><DEDENT>if self.parent_id:<EOL><INDENT>self.parent = self.get_folder(folder_id=self.parent_id)<EOL><DEDENT>return self.parent<EOL>
Get the parent folder from attribute self.parent or
        getting it from the cloud

        :return: Parent Folder
        :rtype: mailbox.Folder or None