def can_be_disabled(self, identifier):
        return self._dependency_graph.in_degree(identifier) == 0
Returns whether a package has no reverse dependencies.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/packagemanager.py/PackageManager.can_be_disabled