Expand all items in the hierarchy use editor utility widget or python??

is there a way to do that?