Delete lookup and attribute caches
attr : bool, optional
If True, invalidate attribute caches created by TreeNode.cache_attr.
See also
create_caches, cache_attr, find