def has_zero_dependents(nodes):
    """Check whether there are any nodes which do notdepend on anything"""
    number = len([node for node in nodes if len(node.dependents) == 0])
    return number > 0