Tell if a class is conforming to specific protocol method at runtime?-Collection of common programming errors

I’m trying to tell if there is a way to determine if a class is conforming to a specific (optional) protocol method at runtime. Is there a way to check for this? Don’t want to send a call to a nonexistent delegate method implementation in the delegate class.