public boolean isPoweredOn(String vmName) throws Exception {
		String vmSearch = doGet(apiLink + Utils.VMS_QUERY_SUFFIX);
		Document doc = RestClient.stringToXmlDocument(vmSearch);
		NodeList list = doc.getElementsByTagName(Constants.VM_RECORD);
		
		String vmRef = new String();
		for(int i=0; i < list.getLength(); i++){
			if(list.item(i).getAttributes().getNamedItem(Constants.NAME).getTextContent().trim().equalsIgnoreCase(vmName)) 
			{
				if(list.item(i).getAttributes().getNamedItem(Constants.STATUS).getTextContent().trim().equalsIgnoreCase("POWERED_ON"))
				{
					return true;
				}
			}
		}
		
		return false;
	}