code: public function canEndRelation()
      {
          if (!isset($this->relationModel) || !isset($this->relationship)) {
              return false;
          }
          if (!$this->relationship->temporal) {
              return false;
          }
          if (!$this->object->canUpdateAssociation($this->relationshipWith)) {
              return false;
          }
  
          return true;
      }
docs: [[@doctodo method_description:canEndRelation]].
  
  @return [[@doctodo return_type:canEndRelation]] [[@doctodo return_description:canEndRelation]]