Convert while condtion to an equivalent expression with booleans
Convert while condtion to an equivalent expression with booleans

It's easier to manipulate and doable because when pool state is checked
extend state is a wildcard and vice-versa.

Signed-off-by: mulhern <7b51bcf507bcd7afb72bf8663752c0ddbeb517f6@redhat.com>

stratis-storage/stratisd,stratis-storage/stratisd,trgill/stratisd,mulkieran/stratisd,trgill/stratisd,stratis-storage/stratisd,mulkieran/stratisd