for this combination of flags, i definitely would have a function with a descriptive name of what we're checking, if such a descriptive name exists...