Add utility to check if some string value can be 'casted' to true or false.
slapgrid: Don't check root if we don't want to.
slapformat: Don't check root if we don't want to.
Remove useless chack in legacy code.