yes it is possible - on your html page you call the init function for the API
<body onload="init()">
bla bla bla
</body>
In a JavaScript, when creating a GE instance for your page, you provide a function pointer for a callback function called on errors
function init()
{
if (ge == null)
{
google.earth.createInstance("content", initCallback, failureCallback);
}
}
finally - in that function you check the error code
function failureCallback(errorCode)
{
if (errorCode == "ERR_CREATE_PLUGIN") {
alert("Plugin not installed")
} else {
alert("Other failure loading the Google Earth Plugin: " + errorCode);
}
}
look at this for a complete working code.
Good luck
MikeD