def METHOD_NAME(self, key, value):
    """set config items in target-specific or General config."""
    # Store config in "replacement mode", that way we can multiple-replace
    # the config on resources, etc.
    key = REPLACEMENT_DELIMITER + key + REPLACEMENT_DELIMITER
    type = "other"
    # Only when value is a string, store in replacements config.
    if isinstance(value, str):
        type = "string"
    return self.set_general_val(type, key, value)