def METHOD_NAME(self, key):
    """
    Retrieve a setting by its key.
    :param key: The key identifying the setting.
    :type key: str
    """
    setting = self._get(key)
    if setting is None:
        return self.getDefault(key)
    else:
        return setting['value']