'Check if any version report has been removed, and cleanup.'

def _cleanup_removed_versions(self, consumer, versions):

    prev_resource_types = set(self._versions_by_consumer[consumer].keys())
    cur_resource_types = set(versions.keys())
    removed_resource_types = (prev_resource_types - cur_resource_types)
    for resource_type in removed_resource_types:
        self._set_version(consumer, resource_type, None)
