Using php to check if the mysqli library has been installed

Hi all,

Is it possible for me to have a snippet of php code that checks to see if mysqli library has been installed on the server the script is running from?

Is that possible are there any tutorials on the topic of this matter i am looking for?

Thanks,William

if (function_exists('mysqli_connect')) {
  //mysqli is installed
}