#26 Add another archetype leaf node judge logic and unit test.