cleanup, isVoid helper method