'Test if data contains any information bound for the subform'

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)
