boolean public \Bitrix\Sale\Discount::isOrderExists( );
Method returns flag for existing order (true/false), because calculation can be performed for shopping cart without an order. Non-static method.
No parameters