ClassCollector uses NSFoundation method to check if the class conforms to protocol