code: function isTransactionObject(value) {
    if (typeof value !== 'object') { return false; }
    const keys = Object.keys(value);
  
    if (keys.length > 5) { return false; }
    if (keys.length === 0) { return true; }
  
    if (keys.length > 0 && isDefined(value.from) || isDefined(value.to) || isDefined(value.data) || isDefined(value.gas) || isDefined(value.gasPrice)) {
      return true;
    }
  
    return false;
  }
docs: Is the value a transaction object.
  
  @method isTransactionObject
  @param {Optional} value the potential tx object
  @return {Boolean} isTransactionObject is the object a tx object