code: def clean_registration_ids(self, registration_ids=[]):
          
          valid_registration_ids = []
          for registration_id in registration_ids:
              details = self.registration_info_request(registration_id)
              if details.status_code == 200:
                  valid_registration_ids.append(registration_id)
          return valid_registration_ids
docs: Checks registration ids and excludes inactive ids
  
          Args:
              registration_ids (list, optional): list of ids to be cleaned
  
          Returns:
              list: cleaned registration ids