I have a protocol that I defined like so:
protocol MyProtocol { ... }
I also have a generic struct:
struct MyStruct <
For test cases I check conformance like this:
let conforms: Bool = (Controller.self as Any) is Protocol.Type