This will work fine:
a = 1
if a:
b = a
but this will not work:
if a:
b = a
it is not like this "if" statement will be executed given that we are explicitly saying..
"if a exists"
so why does it error ? if it does not exist then simply do not do anything within the parameters of that if statement.
UPDATE
it turns out "if a" means.. "if a value for a" means in python.
i am looking for the equivalency for "if a exists at all then move forward"