public function hasQueryNs($ns, $key)
    {
        $data = $this->getQuery($ns);

        // If there's no such key, then $data isn't an array, so just make sure
        if (is_array($data)) {
            return array_key_exists($key, $data);
        } else {
            // If $data isn't an array, then there's no such key
            return false;
        }
    }