hunk.code_window:   value: string;
     isInvalid: boolean;
   };
   const isKeyInArray = (arr: any[], key: any) => {
     return arr.some((obj) => obj?.key.toLowerCase() === key.toLowerCase());
   };
   export const deriveAutoGeneratedHeaderState = (
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:   return arr.some(
       (obj) => obj?.key.trim().toLowerCase() === key.trim().toLowerCase(),
     );
  
hunk.file_path: app/client/src/pages/Editor/APIEditor/helpers.ts
hunk.type: replace
file: package com.appsmith.server.dtos;
  
  import lombok.AllArgsConstructor;
  import lombok.Getter;
  import lombok.NoArgsConstructor;
  import lombok.Setter;
  import lombok.ToString;
  
  @Getter
  @Setter
  @ToString
  @NoArgsConstructor
  @AllArgsConstructor
  public class OldAuthenticationDTO {
      String authType;
      String username;
      String password;
  }
  