code: function isRelativeFilepath(str) {
    if (str) {
      return (
        isFilepath(str) && (str.indexOf('./') == 0 || str.indexOf('../') == 0)
      );
    }
    return false;
  }
docs: Determine if 'str' is a relative filepath
  @param {String} str
  @returns {Boolean}