You can use old and good TYPE()
With Thisform.GRID1.Columns(6)
IF TYPE(".Text1") = "O"
.RemoveObject("Text1")
.AddObject("Command1","CHECKBOX")
.Command1.Caption = 'Delete this Item'
.Sparse = .F. && show the same button on all rows simultaneously
.HEADER1.Caption = "Delete Icode"
.HEADER1.Alignment = 2
.Visible = .T.
.READONLY = .F.
ENDIF
Endwith
Another option is PEMSTATUS() function:
PEMSTATUS(Thisform.GRID1.Columns(6), "Text1", 5) && returns .T. if Text1 exists.