private bool existsFunction(string name) { if (functions == null) { return(false); } return(functions.Exists(name)); }