Procedure templates for neo4j 4.0?

Is there any template/examples for writing your own procedures for neo4j 4.0, similar to this one:

that is for version 3.5?


for 4.0 is this sufficient

You can also check Mark's blog which is generally very extensive Stored Procedures in Neo4j Are NOT Evil | Max De Marzi

excellent posts by mark.. thanks for the suggestion!