public function isValidXML($xml)
    {
        $doc = new \DOMDocument();
        try {
            return $doc->loadXML($xml) === true;
        } catch(\Exception $e) {
            $this->logger->warning('XMLDocument::isValidXML() - ' . $e->getMessage());
            return false;
        }
    }