added IsOfGenericType to ReflectionExtensions