def get_value(self, name, local=True, scope=SYSTEM_SCOPE, decrypt=False):
        """
        Return a particular value stored in a dictionary which is local to this class.
        """
        name = self._get_full_key_name(name=name, local=local)

        if name not in self._datastore_items:
            return None

        kvp = self._datastore_items[name]
        return kvp.value

        Return a particular value stored in a dictionary which is local to this class.
        
st2tests/st2tests/mocks/datastore.py