public boolean hasGroup(ConfluenceServerSettings confSettings, String pGroupname) throws IOException, XmlRpcException {
Vector paramsVector = new Vector();
String loginToken = getLoginToken(confSettings);
paramsVector.add(loginToken);
paramsVector.add(pGroupname);
XmlRpcClient client = getXMLRPCClient(confSettings);
Boolean groupExists = false;
groupExists = (Boolean) client.execute(CONFLUENCE_REMOTE_API_VERSION + ".hasGroup", paramsVector);
return groupExists.booleanValue();
}