Added comment to channel checking function