def _get_xml_doc(self, endpoint, query, is_post=False):
        """
        Return False if connection could not be made.
        Otherwise, return a minidom Document.
        """
        response = self._get_response(endpoint, query, is_post=is_post)
        return minidom.parse(response.text)