code: function SMSDataValidator(data) {
    MessagingUserStatus.call(this, 'sms validator');
  
    if(!helpers.validatePhoneNumber(data.to)) {
      // To phone number is invalid
      this.state.code = this.StatusCodes.INVALID;
      this.state.message = 'Invalid "to" phone number: ' + data.to;
  
    } else if(data.from && !helpers.validatePhoneNumber(data.from)) {
      // From phone number is invalid (if it is input through API)
      this.state.code = this.StatusCodes.INVALID;
      this.state.message = 'Invalid "from" phone number: ' + data.from;
  
    } 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: /*
  SMS validation
  
  @param data         The content of the sms message