Add simple has_dependents implementation