def is_valid(self, bundle, request=None):

        form = self.form_class(**self.form_args(bundle))

        if form.is_valid():
            return {}

        # The data is invalid. Let's collect all the error messages & return
        # them.
        return form.errors
Performs a check on ``bundle.data``to ensure it is valid.
dataset/ETHPy150Open hzlf/openbroadcast/website/apps/tastypie/validation.py/FormValidation.is_valid