Refactor Changed function name to validContentVariableForResponse