Index: trunk/jenga/src/common/CmdLine.cpp
===================================================================
--- trunk/jenga/src/common/CmdLine.cpp	(revision 289)
+++ trunk/jenga/src/common/CmdLine.cpp	(revision 291)
@@ -1,3 +1,5 @@
 #include <jenga/include/common/CmdLine.h>
+
+#include <boost/foreach.hpp>
 
 using namespace Jenga::Common;
@@ -70,2 +72,15 @@
 	}
 }
+
+bool CmdLines::IsExist( const std::string &commandString ) const
+{
+	const CmdLines &cmdLines = *this;
+	BOOST_FOREACH( const CmdLine &cmdLine, cmdLines )
+	{
+		if( cmdLine.GetCommand() == commandString )
+		{
+			return true;
+		}
+	}
+	return false;
+}
