Moved the isChannel function to admin.js