jinja2.nodes.CondExpr.can_assign

CondExpr.can_assign()

Check if it’s possible to assign something to this node.