https://alandroidnet.com/related/boolean expression for or gate