refactoring: extracted isTrue method on assert objects