how to check whether an object/string exist....

if possible help me with a code