boolean (PsiElement element, NodeSpecificHasherBase nodeSpecificHasher) { final DuplicatesProfileBase duplicatesProfile = nodeSpecificHasher.getDuplicatesProfile(); final PsiElementRole role = duplicatesProfile.getRole(element); return role != null && !duplicatesProfile.getDuplocatorState(duplicatesProfile.getLanguage(element)).distinguishRole(role); }