check if resource is instance of ChannelInterface instead of ResourceInterface.