code: public function getForeignObject($foreignModelClass, $foreignPrimaryKey)
      {
          $dataSource = $this->getForeignDataSource($foreignModelClass);
          if ($dataSource && ($foreignDataItem = $dataSource->getForeignDataItem($foreignPrimaryKey))) {
              return $foreignDataItem->handle(true);
          }
  
          return false;
      }
docs: Get foreign object.
  
  @param string $foreignModelClass the foreign model class name
  @param string|int $foreignPrimaryKey the foreign primary key
  
  @return Model|bool foreign data model or false if failed or not found