You can usually tell by the output window error message (refer to your screenshots). Other times it depends on what you’re trying to do. For instance, rs.AddPoint will simply return a point (i.e. that exists only in memory), but if you change the script context to target the Rhino document first it will “bake” the point (i.e. add it to the Rhino document).
Afraid I don’t know. But, you can inspect the rs.AddText source code and see what it’s actually doing.