You can have your logic to check if there are any charges applied on that sales order in check() method of \Classes\SalesConfirmJournalCreate
You can have your logic to check if there are any charges applied on that sales order in check() method of \Classes\SalesConfirmJournalCreate