Is It Possible To Add Python Function To The Node Graph

Is It Possible To Add Python Function To The Node Graph