def needs_confirmation(self):
if EMAIL_CONFIRMATION:<EOL><INDENT>self.is_active = False<EOL>self.save()<EOL>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
set is_active to False if needs email confirmation