getFunctionByName
If no matching function is found among this SubdocumentContext's own libraries, parent's libraries are scanned.
If no matching function is found among this SubdocumentContext's own libraries, parent's libraries are scanned.