How best to check if Base is present

I have built a platform independent Base application SecretaryBird and have found a problem with the installation checks I have written. My three installation files (for Windows, Mac & Unix) check for the presence of LO & Java and halt to request the user install them if not present. Unfortunately Ubuntu regularly installs LO without Base so passes my install test but fails with a strange LO error when the application starts up.

My question is what is the fail safe method of testing for the presence of BASE on a system?

Should I simply look for the presence of a named Base executable with my install files?
If so where are they and what are they called?

decide just to check for the existence of the base file with this shell script:

# Look for BASE shell script
BASE="/usr/lib/libreoffice/program/sbase"
if [ ! -f "$BASE" ] ; then
	echo -e "The database component of LibreOffice, BASE, which is required "
	echo -e "for SecretaryBird, is not present on your system! You need to"
	echo -e "install it BEFORE attempting another installation of SecretaryBird.\n"
	echo "Do you wish to install BASE now?"
	select yn in "Yes" "No" ;  do
		case $yn in
			Yes ) sudo apt-get install libreoffice-base ; break;;
			No  ) read -p "Press [Enter] to abandon this installation." ; exit;;
            esac
	   done
fi
echo "... BASE installed"