I like to check if given value of `Any.Type` conforms to a protocol in Swift. It seems that `@objc` based protocol can be checked by calling `class_conformsToProtocol()`, but I do not have a good idea how to check that with pure swift protocol.

```
// ObjC

@objc protocol MyObjcProtocol {
}

class MyObjcClass: NSObject, MyObjcProtocol {
}

class_conformsToProtocol(MyObjcClass.self, MyObjcProtocol.self) // true

// Swift

protocol MySwiftProtocol: AnyObject {
}

class MySwiftClass: MySwiftProtocol {
}

class_conformsToProtocol(MySwiftClass.self, MySwiftProtocol.self) // error

```

If it is the case of an instance, I can check with `if let object = object as? MySwiftProtocol { ... }` type of approach, but `Any.Type` cannot be the case.

Thanks...