code: public function getForeignDataSource($foreignModelClass)
      {
          foreach ($this->dataSources as $dataSource) {
              if ($dataSource->foreignModel->modelName === $foreignModelClass) {
                  return $dataSource;
              }
          }
  
          return false;
      }
docs: Get foreign data source.
  
  @param [[@doctodo param_type:foreignModelClass]] $foreignModelClass [[@doctodo param_description:foreignModelClass]]
  
  @return [[@doctodo return_type:getForeignDataSource]] [[@doctodo return_description:getForeignDataSource]]