boolean public \Bitrix\Main\Type\Dictionary::isEmpty( );
Non-static method returns true when dictionary empty.
No parameters