extracted ToBe interface.
extracted ToBe interface for boolean