def _is_recursive_needed(self):
    collections_to_save = self.include_collections
    if ((len(self.collection_manager.get(CollectionKeys.DEFAULT).include_regex) != 0) and (CollectionKeys.DEFAULT in collections_to_save)):
        return True
    extra_coll = [value for value in collections_to_save if (value not in COLLECTIONS_NOT_REQUIRING_RECURSIVE_HOOK)]
    return (len(extra_coll) != 0)
def _is_recursive_needed(self):
    collections_to_save = self.include_collections
    if ((len(self.collection_manager.get(CollectionKeys.DEFAULT).include_regex) != 0) and (CollectionKeys.DEFAULT in collections_to_save)):
        return True
    extra_coll = [value for value in collections_to_save if (value not in COLLECTIONS_NOT_REQUIRING_RECURSIVE_HOOK)]
    return (len(extra_coll) != 0)