public function offsetExists($offset)
{
// We only check isset on the array, if it is an object we return true as the object could be overloaded
if (!is_array($this->object)) {
return true;
}
if ($method = $this->getPresenterMethodFromVariable($offset)) {
$result = $this->{$method}();
return isset($result);
}
return isset($this->object[$offset]);
}