boolean (final int lookupAttributeId) { for (entry.reset(RECORD_HEADER_SIZE, buffer); entry.isValid(); entry.moveToNextEntry()) { final int attributeId = entry.attributeId(); if (lookupAttributeId == attributeId) { return true; } } return false; }