The implementation changes the behavior of the instanceof operator to work on node types instead of PHP object types, so that:: [instanceof Neos.NodeTypes:Page] will in fact use isOfType() on the NodeType of context elements to filter. This filter allow also to filter the current context by a given node. Anything else remains unchanged.
Inheritance: extends Neos\Eel\FlowQuery\Operations\Object\FilterOperation
 /**
  * @test
  */
 public function filterWithNodeInstanceIsSupported()
 {
     $node1 = $this->createMock(NodeInterface::class);
     $node2 = $this->createMock(NodeInterface::class);
     $context = array($node1, $node2);
     $q = new FlowQuery($context);
     $operation = new FilterOperation();
     $operation->evaluate($q, array($node2));
     $this->assertEquals(array($node2), $q->getContext());
 }