Checks whether the Logical object has a defined value (whether the value is set).
1 if the Logical object's value is defined (set); otherwise, the method returns 0.
exists() method.