Write function that determines if a python expression is constant.

This will be improved as incremental screen language work
continues, but this is a start.