def _find_flag_groups(h5f):
flag_groups = []<EOL>def _find(name, obj):<EOL><INDENT>if _is_flag_group(obj):<EOL><INDENT>flag_groups.append(name)<EOL><DEDENT><DEDENT>h5f.visititems(_find)<EOL>return flag_groups<EOL>
Return all groups in `h5f` that look like flags