make is_channel a member function of server. Still needs to be renamed though