'This function will attempt to "gracefully" stop a server by
initiating a shutdown sequence within the guest operating system.
A successful response on this function means the system has
successfully passed the request into the operating system.
:param      node: Node which should be used
:type       node: :class:`Node`
:rtype: ``bool``'

def ex_shutdown_graceful(self, node):

    request_elm = ET.Element('shutdownServer', {'xmlns': TYPES_URN, 'id': node.id})
    body = self.connection.request_with_orgId_api_2('server/shutdownServer', method='POST', data=ET.tostring(request_elm)).object
    response_code = findtext(body, 'responseCode', TYPES_URN)
    return (response_code in ['IN_PROGRESS', 'OK'])
