public function hasQueries(array $names) {
        foreach ($names as $name) {
            if (!$this->hasQuery($name))
                return false;
        }
        
        return true;
    }
public function hasQueries(array $names) {
        foreach ($names as $name) {
            if (!$this->hasQuery($name))
                return false;
        }
        
        return true;
    }
public function hasQueries ( array $ names ) { foreach ( $ names as $ name ) { if ( ! $ this -> hasQuery ( $ name ) ) return false ; } return true ; }
Check if queries exists

@access  public
@param   array  $names   Query names
@return  bool
Check if queries exists