(function() {
  var cs;
  var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
  cs = window.CS || (window.CS = {});
  cs.Data || (cs.Data = {});
  cs.wpUtils = {
    hasTag: function(tag, postModel) {
      var hasTag;
      hasTag = false;
      _.each(postModel.get('tags'), __bind(function(t) {
        if (t.slug === tag) {
          hasTag = true;
        }
      }, this));
      return hasTag;
    }
  };
}).call(this);

