Simplified flag checks.