database exists function in dbutil
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index 94e7a0b..af62dcf 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -75,6 +75,20 @@
 	// --------------------------------------------------------------------
 
 	/**
+	 * Determine if a particular database exists
+	 *
+	 * @access	public
+	 * @param	string
+	 * @return	boolean
+	 */
+	function database_exists($database_name)
+	{	
+		return ( ! in_array($database_name, $this->list_databases())) ? FALSE : TRUE;
+	}
+
+	// --------------------------------------------------------------------
+
+	/**
 	 * Optimize Table
 	 *
 	 * @access	public