PyExpression (@NotNull PyCallExpression element) { final PyExpression callee = element.getCallee(); if (callee instanceof PyQualifiedExpression qualifiedExpr) { final PyExpression qualifier = qualifiedExpr.getQualifier(); if (qualifier != null && PyNames.FORMAT.equals(qualifiedExpr.getReferencedName())) { return qualifier; } } return null; }