code: public function canCreate($relationshipRole, $object)
      {
          $objectModule = $object->objectType;
          if ($this->child->hasDashboard && $relationshipRole === 'child') { // && ($this->parent->uniparental || $this->uniqueParent)
  
              return false;
          }
  
          return true;
      }
docs: [[@doctodo method_description:canCreate]].
  
  @param [[@doctodo param_type:relationshipRole]] $relationshipRole [[@doctodo param_description:relationshipRole]]
  @param [[@doctodo param_type:object]]           $object           [[@doctodo param_description:object]]
  
  @return [[@doctodo return_type:canCreate]] [[@doctodo return_description:canCreate]]