Whether a link with the given key exists.
string $key: The key.
bool TRUE if a link with the given key exist, FALSE otherwise.
public function hasLinkWithKey($key) { return array_key_exists($key, $this->links); }