Check Form is new or not

Hello @SUKUMARAN_BV,

In Javascript :

if (frm.is_new()) {
}

In Python:

if doc.is_new():