Checks for groupCollapsed for jquery.validate debug mode