How to check is the element name is exists?

Full name of a sctn is "sctn 1 of frmw 1 of stru /6xxxx"

Var !name fullname of sctn

Var !isexist exists $!name

It's not working. 

How to check fullname id exist or not .