kohana/orm — pull request #100 by SaschaGalley (2014-02-21 13:32:22+00:00)
Title: has() method only worked if $far_keys was an array

```
return $count === count($far_keys);
```

Any ORM model or a single primary key (int) will always fail this comparison.

Added further checks to return FALSE if far_keys is an instance of ORM and not loaded and build an array if $far_keys was not an array.