code: public function getIsChildless()
      {
          if (empty($this->collectorItem) || empty($this->collectorItem->children)) {
              return true;
          }
  
          return false;
      }
docs: Get is childless.
  
  @return [[@doctodo return_type:getIsChildless]] [[@doctodo return_description:getIsChildless]]