boolean public \Bitrix\Main\UserConsent\Agreement::hasErrors( );
Method returns true when errors are present. Otherwise, returns false.
true
false
No parameters