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;
        }
    }
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;
        }
    }
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 ; } }
Checks whether there's a key in namespaced query

@param string $ns Namespace (Group)
@param string $key
@return boolean
Checks whether there s a key in namespaced query