refine how booleans are evaluated

Signed-Off-By: Josh Cepek <josh.cepek@usa.net>