function isPentagon(h3Index) {
    const [lower, upper] = h3IndexToSplitLong(h3Index);
    return Boolean(H3.isPentagon(lower, upper));
}
Whether the given H3 index is a pentagon
@static
@param  {H3IndexInput} h3Index  H3 index to check
@return {boolean}          isPentagon