Added working has_side_effects() methods to Cmd nodes for eventual use in inlining.