public static boolean couldBeMagicLiteral(@NotNull final PsiElement element) {
    return (element instanceof StringLiteralExpression) && (element.getReferences().length == 0) &&
           Arrays.stream(PyMagicLiteralExtensionPoint.EP_NAME.getExtensions()).anyMatch(o-> o.isEnabled(element));
  }
public static boolean couldBeMagicLiteral(@NotNull final PsiElement element)