boolean (PsiElement element) { ParserDefinition definition = LanguageParserDefinitions.INSTANCE.forLanguage(PsiUtilCore.findLanguageFromElement(element)); return definition != null && (isStringLiteral(element, definition) || isStringLiteral(element.getParent(), definition)); }