code: def _get_head_state(self):
          
          if not self.head_state:
              root = self._get_head_block().state_root
              self.head_state = State(self.db, root)
          return self.head_state
docs: Get head state.
  
          :return: