COOK-3890: Add reboot_pending? to core DSL