code: def remove_elements_with_source(source, field):
      
      return freeze(
          [element for element in field if element.get('source', '').lower() != source]
      )
docs: Remove all elements matching ``source`` in ``field``.