Check whether we have invalid groups or not. A group is considered invalid when it is empty, has items with the name 'None', or invalid names, or when the items (bones or curve names) do not exist in the bone or curve list.