<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def safe_to_exit(self, *args, **kargs):
 """ Overrided to prevent user from exiting selection until they have selected the right amount of instances """

        if len(self.value) == self.instance_num:
            return True
        return False