src/PicORM/Collection.php
public function has($index)
    {
        if (!$this->isFetched) {
            $this->fetch();
        }

        return isset($this->models[$index]);
    }
public function has($index)
    {
        if (!$this->isFetched) {
            $this->fetch();
        }

        return isset($this->models[$index]);
    }
Test if collection has element at this $index

@param int $index - needed index

@return bool