in src/main/kotlin/jsitter/impl/SubtreeAccess.kt [109:118]
fun isVisible(subtree: Ptr): Boolean {
if (subtree == 0L) {
throw NullPointerException()
}
if (isInline(subtree)) {
return subtree.byte(0).and(2) == 2
} else {
return unsafe.getByte(subtree + flags).and(1) == 1.toByte()
}
}