@property<EOL><INDENT>def exists(self):<DEDENT>
return self._exists or self.enterprise_enrollment_exists<EOL>
Determine whether a record related to the consent scenario exists.

First, check the instance's own `_exists` attribute; this is set to True
on database-backed instances that have a primary key, and may be manually
set to true on ProxyDataSharingConsent objects that have database-backed
children. If unsuccessful, check to see if an EnterpriseCourseEnrollment
related to this consent record exists; we treat that as though this record
exists for the purposes of serializable API responses.

We want to check for EnterpriseCourseEnrollment records because there are
cases where one will be created, but not the other. In particular, proxy
enrollments create an ECE but not any consent record. The LMS uses the
API's 'exists' key to determine if consent action should be taken for course
enrollments that have prior existence but for which consent has not been
granted. Thus, 'exists' is used as a proxy for the question "has any workflow
been entered which may involve a necessity for the learner to grant consent?"