code: function PushDataValidator(data) {
    MessagingUserStatus.call(this, 'push validator');
  
    if(data.deviceType != "ios" && data.deviceType != "android") {
      // Device type specification is invalid
      this.state.code = this.StatusCodes.INVALID;
      this.state.message = 'Invalid device type: ' + data.deviceType;
  
    } else if(!helpers.validateMessage(data.deviceToken)) {
      // Device token is invalid
      this.state.code = this.StatusCodes.INVALID;
      this.state.message = 'Invalid device token: ' + data.deviceToken;
  
    } else if(!helpers.validateMessage(data.message)) {
      // Message string is invalid
      this.state.code = this.StatusCodes.INVALID;
      this.state.message = 'Invalid message: ' + data.message;
  
    } else {
      // Input data is valid
      this.state.code = this.StatusCodes.VALID;
      this.state.message = 'Ok';
    }
  }
docs: /*
  Push validation
  
  @param data         The content of the push