Calling .gh defined Hops-functions from ghhops-server-py

Hi,

I can’t find a lot of documentation for ghhops-server-py, so I wonder if there are anybody who knows how to achieve this flow:

Rhino/Grasshopper-session calls Hops function hosted by a ghhops-server-py (as in these examples: https://github.com/mcneel/compute.rhino3d/tree/7.x/src/ghhops-server-py)

From within Python-code in ghhops-server-py, I want to be able to call regular Hops-functions defined in Grasshopper-documents (.gh) as a part of my ghhops-server-py defined function.

Is there a straightforward way of doing this?