Now this is a hard one since your code is an infinite loop that achieves nothing.
The only way to get what you want is to offset your code to another button or part in your script, most likely the focus_entered
signal.
var servant_amount = 1
func on_checkbutton_toggle ( button_pressed):
if button_pressed:
servant_amount -= 1
else:
servant_amount += 1
func on_checkbutton_focus_entered():
$Checkbutton.disabled = servant_amount == 0