Well from my understanding, if hasattrs is true, then it is a HCBox at least that's what the comment says in the code:
```c++
    // whether or not instances of this class are subclasses of HCBox,
    // ie they have python-level instance attributes:
    const bool hasattrs;
```