code: def get_value_from_state(self, path, head_hash=None, with_proof=False, multi_sig=None):
          '''
          Get a value (and proof optionally)for the given path in state trie.
          Does not return the proof is there is no aggregate signature for it.
          :param path: the path generate a state proof for
          :param head_hash: the root to create the proof against
          :param get_value: whether to return the value
          :return: a state proof or None
          '''
          if not multi_sig and with_proof:
              root_hash = head_hash if head_hash else self.state.committedHeadHash
              encoded_root_hash = state_roots_serializer.serialize(bytes(root_hash))
  
              multi_sig = self.bls_store.get(encoded_root_hash)
          return super().get_value_from_state(path, head_hash, with_proof, multi_sigf get_value_from_state(self, path, head_hash=None, with_proof=False, multi_sig=None):
          '''
          Get a value (and proof optionally)for the given path in state trie.
          Does not return the proof is there is no aggregate signature for it.
          :param path: the path generate a state proof for
          :param head_hash: the root to create the proof against
          :param get_value: whether to return the value
          :return: a state proof or None
          '''
          if not multi_sig and with_proof:
              root_hash = head_hash if head_hash else self.state.committedHeadHash
              encoded_root_hash = state_roots_serializer.serialize(bytes(root_hash))
  
              multi_sig = self.bls_store.get(encoded_root_hash)
          return super().get_value_from_state(path, head_hash, with_proof, multi_sig)
docs: Get a value (and proof optionally)for the given path in state trie.
          Does not return the proof is there is no aggregate signature for it.
          :param path: the path generate a state proof for
          :param head_hash: the root to create the proof against
          :param get_value: whether to return the value
          :return: a state proof or None