boolean public \Bitrix\Seo\SitemapFile::isNotEmpty( );
Method returns true, when current sitemap file section already contains any data in addition to the header.
No parameters