<PackageReference Include="Castle.Core" Version="5.1.1" />

ProxyServices

public static class ProxyServices
List of utility methods related to dynamic proxy operations
public static bool IsDynamicProxy(Type type)

Determines whether the specified type is a proxy generated by DynamicProxy (1 or 2).