Refactored the enrollment_mode check a bit to allow for easier understanding of the logic involved.
Refactored the enrollment_mode check a bit to allow for easier understanding of the logic involved.

xahgmah/edx-proctoring,edx/edx-proctoring,xahgmah/edx-proctoring,edx/edx-proctoring,xahgmah/edx-proctoring,edx/edx-proctoring