Can't save due to "Graph is linked to external private object"

For couple of reasons I’m not sure if this is the case here.
First, even after closing and re-opening the editor, the problem persists.
Second, The function is not referenced anywhere else apart of what you see in the screen shot.