def is_enabled(self):
    config = self._get_status()
    return config.summary_status() in (IsEnabledResponse.ENABLED,
                                       IsEnabledResponse.SCHEDULED_FUTURE,
                                       IsEnabledResponse.SCHEDULED_NOW)
Return true if the task should be entirely skipped, and thus have no product requirements.
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/api/capabilities/__init__.py/CapabilitySet.is_enabled--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/tasks/jvm_dependency_analyzer.py/JvmDependencyAnalyzer.skip