check widget types for bool