def _is_coordinator(self): from oozie.models import Coordinator return Coordinator.get_application_path_key() in self.properties