docs: public boolean hasDependent(T element) {
        lock.readLock().lock();
        try {
           Set<T> ts = this.incomingEdges.get(element);
           return ts != null && ts.size() > 0;
        } finally {
           lock.readLock().unlock();
        }
  
     }