<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _cleanRecursive(self, subSelf):
 """ Delete all NestedOrderedDict that haven't any entries. """

        for key, item in list(subSelf.items()):
            if self.isNestedDict(item):
                if not item:
                    subSelf.pop(key)
                else:
                    self._cleanRecursive(item)