->status()
This method retrieves the current status of a remote database.
Example usage
$status = $db->status();
echo "The status code is: $status."; // 200 or 500
The status function returns 200 if the database is running and 500 if the database is down or cannot be reached.