Checks the object for the correct implementation of the interface.