code: def get_prep_lookup(self):
          
  
          field = self.lhs.output_field
  
          if self.rhs_is_iterable and not field.multi_valued_field:
              # self.rhs is an iterable, and the field expects single-valued options.
              return [field.get_prep_value(v) for v in self.rhs]
          else:
              # self.rhs is 'as multi-valued' as the field.
              return field.get_prep_value(self.rhs)
docs: Convert the Python value(s) used in the lookup to LDAP values.