Navigates to `$key`.

@param string|int $key

@return bool `true` if it is possible to navigate to `$key`, `false` if not
427463
public function to($key)
    {
        $getter = 'get'.ucfirst($key);
        $hasser = 'has'.ucfirst($key);
        $isser  = 'is'.ucfirst($key);

        if (is_array($this->current) && array_key_exists($key, $this->current)) {
            $this->current = &$this->current[$key];
        } elseif ($this->isObjectWithMethod($this->current, $key)) {
            $this->current = $this->current->$key();
        } elseif ($this->isObjectWithMethod($this->current, $getter)) {
            $this->current = $this->current->$getter();
        } elseif ($this->isObjectWithMethod($this->current, 'get')) {
            $this->current = $this->current->get($key);
        } elseif ($this->isObjectWithMethod($this->current, $hasser)) {
            $this->current = $this->current->$hasser();
        } elseif ($this->isObjectWithMethod($this->current, 'has')) {
            $this->current = $this->current->has($key);
        } elseif ($this->isObjectWithMethod($this->current, $isser)) {
            $this->current = $this->current->$isser();
        } elseif ($this->isObjectWithMethod($this->current, 'is')) {
            $this->current = $this->current->is($key);
        } elseif (is_object($this->current) && isset($this->current->$key)) {
            $this->current = $this->current->$key;
        } else {
            return false;
        }

        return true;
    }
239234
public function settingsKey($key)
    {
        if (is_array($this->settings) == false || isset($this->settings[$key]) == false) {
            return false;
        }

        return $this->settings[$key];
    }
907355
public function touch($key)
    {
        if (! isset($this->files[$key])) {
            if (! Utilities::dirExists($this->dir, true)) {
                return false;
            }
            $this->files[$key] = new PhpStore($this->dir . '/' . $key . '.php');
        }
        return $this->files[$key]->touch();
    }
1092046
public function member($key)
    {
        foreach ($this->value as $innerKey => $value) {
            if ($key === $innerKey) {
                return true;
            }
        }

        return false;
    }
676951
private function load($key)
    {
        $path = $this->getPath($key);

        return file_exists($path) ? file_get_contents($path) : false;
    }
1371440
public function get($key)
    {
        $filename = $this->getFilename($key);
        if (!$filename || !is_file($filename)) return false;
        Cml::requireFile($filename);
        return true;
    }
377466
public function isLast($key)
	{
		if ($this->rows && $this->count())
		{
			return $key == array_slice($this->rows, -1, 1)[0]->getPkValue();
		}

		return false;
	}
30863
public function containsKey(int $key): bool {
        $array = $this->array;
        $array = \array_filter($array, function ($value, $key) {
            return $value !== null;
        }, \ARRAY_FILTER_USE_BOTH);
        return array_key_exists($key, $array);
    }
431189
public function get($key)
    {
        $result = $this->command('get', [$key]);

        return $result !== false ? $result : null;
    }
763598
function get($key) {
		return $this->dsn && $this->exists($key,$data)?$data:FALSE;
	}
1044959
public function get($key)
    {
        $connection = $this->getConnection($key);
        $this->writeToRemote(array(
            'cmd' => 'get',
            'key' => $key,
        ), $connection);
        return $this->readFromRemote($connection);
    }
271626
protected function skipKey(string $key): bool
    {
        if (!empty($this->search)) {
            foreach ($this->search as $search) {
                if ($this->hasWildCard($search)) {
                    $search = substr($search, 0,-2);
                    if (substr($key, 0, mb_strlen($search)) === $search) {
                        return false;
                    }
                } elseif ($search === $key) {
                    return false;
                }
            }
            return true;
        }
        return false;
    }
971575
public function get($key)
  {
    return isset($this->attr[$key]) ? $this->attr[$key] : false;
  }
1199367
private function lookupKey($key)
    {
        foreach ($this->pairs as $pair) {
            if ($this->keysAreEqual($pair->key, $key)) {
                return $pair;
            }
        }
    }
95637
private function getPosition($key)
    {
        if ($this->index->containsKey($key)) {
            return $this->index->get($key);
        }

        return false;
    }
289459
public function find($key) {
		return array_key_exists(($key = strtolower(trim($key))), $this->Hashes)
			? $this->Hashes[$key] : false;
	}
700344
public function __isset($key)
    {
        switch (true) {
            case isset($this->_params[$key]):
                return true;
            case isset($_GET[$key]):
                return true;
            case isset($_POST[$key]):
                return true;
            case isset($_COOKIE[$key]):
                return true;
            case isset($_SERVER[$key]):
                return true;
            case isset($_ENV[$key]):
                return true;
            default:
                return false;
        }
    }