code: protected function isEloquent()
      {
          if ($this->isIndependent) {
              return false;
          }
  
          if ($this->option('no-eloquent')) {
              return false;
          }
  
          return $this->option('eloquent') ?: $this->getApi()->isEloquent();
      }
docs: Determine whether a resource is eloquent or not
  
  @return boolean