use PCL friendly IsGenericType() ext method