# State (Get Method) Gets the value of "State" property. ``` bool  State() const ``` Return Value Value of "State" property of the object assigned to the class instance. If there is no object assigned, it returns false. # State (Set Method) Sets new value for "State" property. ``` bool  State(    bool  state      // property value    ) ``` Parameters X [in]  New value for "State" property. Return Value true - success, false - cannot change the property.