public function isAssoc() { $isAssoc = false; if (!$this->isEmpty()) { $isAssoc = $this->checkType('string'); } return $isAssoc; }