public function process(Vertex $vertex, Digraph $graph)
 {
     if ($vertex instanceof Assignment && $vertex->isIdempotent() && 1 >= $this->countUsages($vertex->getResult(), $graph)) {
         Helper::remove($vertex, $graph);
         return true;
     }
     return false;
 }