add correct logic for is_enabled