`isReturningVoid` would be a better name.