Node-red-node-ping always return false

This is the correct way:

https://discourse.nodered.org/t/how-to-share-code-or-flow-json