def has_subform_data(self, subform_name, data):
    prefix = self.add_prefix(subform_name)
    return len([ k.startswith(prefix) for k in data.keys() ]) != 0
Test if data contains any information bound for the subform
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/lib/django_forms.py/MultiForm.has_subform_data