check interface role against implementation