def validate(self):
<EOL>for field in set(self.required_fields) - set(self.request_data):<EOL><INDENT>if not isinstance(field, string_types):<EOL><INDENT>return bool(set(field) & set(self.request_data))<EOL><DEDENT>return False<EOL><DEDENT>return True<EOL>
Validate request data before sending it out. Return True/False.