How to check if instance of class conforms to a protocol

Signed-off-by: Justin Dickow <jjdickow@gmail.com>