serverinfo tool is intended to be used in shell script conditionals.
The binary is a part of ServerInformation private framework.