def find_channel(channel_name, source):
    """
    Search for channel by name on the given object
    """
    name = channel_name.lower()
    for channel in source.channels:
        if channel.name.lower() == name:
            return channel
    return None