Added bool operator to coerce values to a boolean for comparison