H1B VISA STAMPING - 4/5 MONTHS BEFORE I797-A EXPIRY nearing maxout

Hi,I need to travel to India in the month of March 2021 looking for dropbox slot as well. My current petition is valid till Aug 2021 and starting of Sep 2021 I94. I am planning to appear for visa stamping with my current I797-A.Is it okay to go for h1b stamping hen you have about 3-4 months validity on I797-A ? Thanks in advance!!

this is 6 year maxout as well.