Helper used to know if the given modifier is enabled.
@method
@memberof Popper.Utils
@returns {Boolean}
function isModifierEnabled(modifiers, modifierName) {
    return modifiers.some(function (_ref) {
      var name = _ref.name,
          enabled = _ref.enabled;
      return enabled && name === modifierName;
    });
  }