lithium\data\Collection::closed()
Checks to see if this entity has already fetched all available entities and freed the associated result resource.
Returns
booleanReturns true if all entities are loaded and the database resources have been freed, otherwise returns false.
Source
public function closed() {
return empty($this->_result);
}