Gets a value indicating whether the current IOptional object has a value.
public bool HasValue { get; }