def variable_static_value
Potentially check if an assign has a constant or something else:
Something else:
Assign(
targets=[
Name(id='y', ctx=Store())],
value=Name(id='x', ctx=Load()))
Constant:
Assign(
targets=[
Name(id='a', ctx=Store())],
value=Constant(value=2))
Edited by Annabell Brocker