Enum member isSpecialFunction

Checks whether name is the name of a special function which should be IgnoreUDA when generating RPC methods. Ignores startSession, constructors, destructors, toHash and toString.

enum isSpecialFunction(string name) = name == "startSession" || name == "__dtor" || (name.length >= 6 && name[0..5] == "__ctor" || name == "toHash" || name == "toString");