def _check_groups(problem):
    """Check if there is more than 1 group."""
    groups = problem.get('groups')
    if not groups:
        return False

    if len(set(groups)) == 1:
        return False
    return groups