options.getVisitorState().then(({ ipAddress }) => {

        if (allowedIPs.indexOf(ipAddress) > -1) {

          options.getBrowserState().then(({ ua }) => {

            if (ua.deviceType !== "mobile") return;

            return pollAndFire(data);

          })

        }

     })

// where allowedIPs is an array with all the IPs allowed


Or


options.getVisitorState().then(function (state) {

   if (state.ipAddress !== '<ipA>' || state.ipAddress !== '<ipB>') {

      cb()

   }

}