Option :: isValid - Is option valid
The function checks, whether the option name is set in the object. When no name is set, the function returns false.
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.