lib/components/types/Module.php
public function getIsChildless()
    {
        if (empty($this->collectorItem) || empty($this->collectorItem->children)) {
            return true;
        }

        return false;
    }
public function getIsChildless()
    {
        if (empty($this->collectorItem) || empty($this->collectorItem->children)) {
            return true;
        }

        return false;
    }
Get is childless.

@return [[@doctodo return_type:getIsChildless]] [[@doctodo return_description:getIsChildless]]