<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(self, key):
 """ Fetches the value with a given keypath from the given node. Key will be encoded into binary array format first. """

        validate_is_bytes(key)

        return self._get(self.root_hash, encode_to_bin(key))