Which zones will be up on reboot ?

Hey there, I m writing a system managament tool, which for Solaris-land, will have functionality to check currently up zones, compare with those up at the "last good system reference point ", and also find out which zones will be up on a system reboot.

dumpadm list -v gives me the current setting.
The lastn good system reference point " " setting is nothing but the previous setting, which I can find out.
What about the next boot setting ?
Which Config files are to be checked to know which zones are configured to be up / running on reboot ??
The zonecfg manpage is extremely verbose , and I the concept of zones is new to me.

EDIT :

Ok... so if I do a zonecfg -z "zonename" info | grep autoboot | cut -d ":" -f2 and get it as "true"
.... Does it mean, that the zone will be up, on reboot ?

Or should something else be checked for too ?

Indeed. Try that too:

zonecfg -z global info autoboot

If the zone service is disabled, no zone will be started:

svcs svc:/system/zones:default