[cookbook] Toggling a boolean property recipe

See #668. cc/ @cavneb