def validate_params(request):
if '<STR_LIT>' in request:<EOL><INDENT>correct_params = isinstance(request['<STR_LIT>'], (list, dict))<EOL>error = '<STR_LIT>'<EOL>assert correct_params, error<EOL><DEDENT>
Validate request params.