private static bool IsGL2Extension(string function) { return !String.IsNullOrEmpty(GetGL2Extension(function)); }