Cast to bool, silence static analysis