docs: def updateRegistrationStatus(self, saveMethod=False):
          '''
          If called via cron job or otherwise, then update the registrationOpen
          property for this series to reflect any manual override and/or the automatic
          closing of this series for registration.
          '''
          logger.debug('Beginning update registration status.  saveMethod=%s' % saveMethod)
  
          modified = False
          open = self.registrationOpen
  
          startTime = self.startTime or getattr(self.eventoccurrence_set.order_by('startTime').first(),'startTime',None)
          endTime = self.endTime or getattr(self.eventoccurrence_set.order_by('-endTime').first(),'endTime',None)
  
          # If set to these codes, then registration will be held closed
          force_closed_codes = [
              self.RegStatus.disabled,
              self.RegStatus.heldClosed,
              self.RegStatus.regHidden,
              self.RegStatus.hidden
          ]
          # If set to these codes, then registration will be held open
          force_open_codes = [
              self.RegStatus.heldOpen,
          ]
  
          # If set to these codes, then registration will be open or closed
          # automatically depending on the value of closeAfterDays
          automatic_codes = [
              self.RegStatus.enabled,
              self.RegStatus.linkOnly,
          ]
  
          if (self.status in force_closed_codes or not self.pricingTier) and open is True:
              open = False
              modified = True
          elif not self.pricingTier:
              open = False
              modified = False
          elif (self.status in force_open_codes and self.pricingTier) and open is False:
              open = True
              modified = True
          elif (
              startTime and self.status in automatic_codes and ((
                  self.closeAfterDays and timezone.now() > startTime + timedelta(days=self.closeAfterDays)) or
                  timezone.now() > endTime) and open is True):
                      open = False
                      modified = True
          elif startTime and self.status in automatic_codes and ((
              timezone.now() < endTime and not self.closeAfterDays) or (
                  self.closeAfterDays and timezone.now() < startTime + timedelta(days=self.closeAfterDays))) and open is False:
                      open = True
                      modified = True
  
          # Save if something has changed, otherwise, do nothing
          if modified and not saveMethod:
              logger.debug('Attempting to save Series object with status: %s' % open)
              self.registrationOpen = open
              self.save(fromUpdateRegistrationStatus=True)
          logger.debug('Returning value: %s' % open)
          return (modified, open)