Check if output parameter of a template key has any placeholders and check args[output] key only in that case.