code: function shouldHaveNewlines(elements, hasLeftNewline) {
              if (multilineArgumentsOption && elements.length === 1) {
                  return hasLeftNewline;
              }
              if (multilineOption || multilineArgumentsOption) {
                  return elements.some((element, index) => index !== elements.length - 1 && element.loc.end.line !== elements[index + 1].loc.start.line);
              }
              if (consistentOption) {
                  return hasLeftNewline;
              }
              return elements.length >= minItems;
          }
docs: ---------------------------------------------------------------------- Helpers ---------------------------------------------------------------------- 
  Determines whether there should be newlines inside function parens
  @param {ASTNode[]} elements The arguments or parameters in the list
  @param {boolean} hasLeftNewline `true` if the left paren has a newline in the current code.
  @returns {boolean} `true` if there should be newlines inside the function parens