Transform boolean