Your supposition is correct; it is basically like an include, variables become available to the current script, any commands in that referenced script are run, etc.
You can do this in Bourne, use test, which should also be the program known as [ (try a whereis [ sometime).
This should work in...