private function useAssoc($params)
    {
        $assoc = true;
        if (isset($params['assoc']) && is_bool($params['assoc'])) {
            $assoc = $params['assoc'];
        }

        return $assoc;
    }