private function hasFields($fields)
    {
        $hasFields = true;
        
        foreach ($fields as $field_name)
        {
            if (!isset($this->m_fields[$field_name]))
            {
                $dbgMsg = 'Hasfields returning that ' . $field_name . ' does ' .
                          'not exist in ' . print_r($this->m_fields, true);
                
                LogModel::debugLog($dbgMsg);
                $hasFields = false;
                break;
            }
        }
        
        return $hasFields;
    }