in src/pydolphinscheduler/core/task.py [0:0]
def is_cache(self) -> str:
"""Whether the cache is being set or not."""
if isinstance(self._is_cache, bool):
return IsCache.YES if self._is_cache else IsCache.NO
else:
raise PyDSParamException("is_cache must be a bool")