public function isLinear()
 {
     return $this->first->isLinear() && $this->second->isLinear();
 }