boolean checkForChannel(String cname) {
        boolean returned = false;
        for (Channel c: channels) {
            if (c.getName().equals(cname)) {
                return true;
            }
        }
        return false;
    }