DiskState is a simple tool which allows to check if a partition is validated. Mostly useful for scripts. Example:
diskstate dh0: quiet
if warn
    echo "disk is unvalidated"
else
    echo "disk is validated"
endif
Download the binary and the documentation here.