public function getReadOnly() { return $this->get('blocks.write') === 'true'; // ES returns a string for this setting }