You should be able to write `return buffer.every(isNotNull);`