'Validate the body of task creating request'

def _validate_create_body(self, body):

    for param in self._required_properties:
        if (param not in body):
            msg = (_("Task    '%s'    is    required") % param)
            raise webob.exc.HTTPBadRequest(explanation=msg)
