forkcms/forkcms — pull request #377 by siesqo (2013-02-27 10:48:27+00:00)
Title: BackendModel::isInstalledModule() added.

You can use this function to check if module is installed.

f.e.:
$module = 'eshop';

if(BackendModel::isInstalledModule($module))
{
BackendEshopModel::insert('test');
}