code: def enabled_logical_ids(self):
          
          return [logical_id for logical_id, preference in self._resource_preferences.items() if preference.enabled]
docs: :return: only the logical id's for the deployment preferences in this collection which are enabled