Check whether some nodes are still allocated to it while delete a role.