public static function pluginExists($name) {
	
		$db = Database::getInstance();
		$db->setQuery('SELECT COUNT(1) FROM `modules` WHERE name = ?');
		return (bool)$db->loadCount($name);
	
	}
public static function pluginExists($name) {
	
		$db = Database::getInstance();
		$db->setQuery('SELECT COUNT(1) FROM `modules` WHERE name = ?');
		return (bool)$db->loadCount($name);
	
	}
public static function pluginExists ( $ name ) { $ db = Database :: getInstance ( ) ; $ db -> setQuery ( 'SELECT COUNT(1) FROM `modules` WHERE name = ?' ) ; return ( bool ) $ db -> loadCount ( $ name ) ; }
Checks if Module is already installed in this application.

@param	string	Name of Module to search.

@return	boolean

@see		PluginInterface::pluginExists()
Checks if Module is already installed in this application .