original_string: protected function isEmbeddable($model, $relation)
      {
          if (array_key_exists($model, $this->embeddedRecords)) {
              return is_array($this->embeddedRecords[$model]) && in_array($relation, $this->embeddedRecords[$model]);
          }
  
          return false;
      }
code: protected function isEmbeddable($model, $relation)
      {
          if (array_key_exists($model, $this->embeddedRecords)) {
              return is_array($this->embeddedRecords[$model]) && in_array($relation, $this->embeddedRecords[$model]);
          }
  
          return false;
      }
code_tokens: protected function isEmbeddable ( $ model , $ relation ) { if ( array_key_exists ( $ model , $ this -> embeddedRecords ) ) { return is_array ( $ this -> embeddedRecords [ $ model ] ) && in_array ( $ relation , $ this -> embeddedRecords [ $ model ] ) ; } return false ; }
docstring: Checks if a speicific model's relation should have its records embedded.
  
  @param  string  $model    Model's classname
  @param  string  $relation Relation name
  @return boolean           Trus if the relation should be embedded
docstring_tokens: Checks if a speicific model s relation should have its records embedded .