code: function(name, value) {
  			if (name == value) {
  				return true;
  			}
  
  			var boolAttrs = prefs.get('profile.booleanAttributes');
  			if (!value && boolAttrs) {
  				boolAttrs = new RegExp(boolAttrs, 'i');
  				return boolAttrs.test(name);
  			}
  
  			return false;
  		}
docs: Check if attribute with given name is boolean,
  e.g. written as `contenteditable` instead of
  `contenteditable="contenteditable"`
  @param  {String}  name Attribute name
  @return {Boolean}