conversion of STATE values to bool