added is_composite to functools.Decorator
min