isOutputPort method
Checks if a port is an output port of this node.
Returns true if the port exists in outputPorts, false otherwise.
This is useful in builders to determine port direction.
Implementation
bool isOutputPort(Port port) => outputPorts.contains(port);