def filterChannelsByFrequencyRange(channels, freq_range):
  """Returns channels which partially or fully overlap with 'freq_range'.

  Args:
    channels: list of available channels.
    freq_range: dict of frequency range.
  """

  return [
      channel for channel in channels
      if
      channel['frequencyRange']['lowFrequency'] < freq_range['highFrequency']
      and
      channel['frequencyRange']['highFrequency'] > freq_range['lowFrequency']
  ]