Ensuring a group is weakly nilpotent