goja-core/src/main/java/goja/core/db/Dao.java
public static <M extends Model> boolean isNew(M m) {
        final Table table = TableMapping.me().getTable(m.getClass());
        final String[] pks = table.getPrimaryKey();
        return isNew(m, pks[0]);
    }
public static <M extends Model> boolean isNew(M m) {
        final Table table = TableMapping.me().getTable(m.getClass());
        final String[] pks = table.getPrimaryKey();
        return isNew(m, pks[0]);
    }
public static < M extends Model > boolean isNew ( M m ) { final Table table = TableMapping . me ( ) . getTable ( m . getClass ( ) ) ; final String [ ] pks = table . getPrimaryKey ( ) ; return isNew ( m , pks [ 0 ] ) ; }
According to the default primary key <code>id</code> is for the new data and entity.

@param m   model
@param <M> Generic entity references
@return If for the new form of return true.
According to the default primary key <code > id< / code > is for the new data and entity .