'Returns information about the channel from the database. Returns None if the channel with given cid
does not exist.'

def get_channel_from_db(self, cid):

    channels_list = self.channel_db_handler.getChannelsByCID([cid])
    return (channels_list[0] if (len(channels_list) > 0) else None)
