/** * Checks to see if the current item is the last in the list * * @return bool * @since 2.1.0 **/ public function isLast() { if ($this->collection) { return $this->collection->isLast($this->getPkValue()); } return false; }