using explicit bool operator for optional