public function run($key = null) { if (!isset($key)) { $key = $this->args[0]; } if (!$this->cage->keyExists($key)) { return false; } $val = $this->getValue($key); if (Inspekt::isArrayOrArrayObject($val)) { return $this->walkArray($val); } else { return $this->inspekt($val); } }