boolean () { if (!LanguageLevel.forElement(myNode).isPython2()) { return true; } final PsiFile file = myNode.getContainingFile(); if (file instanceof PyFile pyFile) { return pyFile.hasImportFromFuture(FutureFeature.UNICODE_LITERALS); } return false; }