code: function hasValidLength(inputArg) {
          var valid = false,
              type = typeof inputArg,
              length;
  
          if (type !== 'undefined' &&
                  inputArg !== null &&
                  type !== 'boolean' &&
                  type !== 'string' &&
                  type !== 'number' &&
                  pHasOwn.call(inputArg, 'length')) {
  
              length = inputArg.length;
              if (isInteger(length) && length >= 0) {
                  valid = true;
              }
          }
  
          return valid;
      }
docs: Returns true if argument is an object that has own property of length which is a number of uint32
  but is not a {@link Function function}.
  @private
  @function hasValidLength
  @param {*} inputArg
  @returns {boolean}
  @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length