Use has_none for flag checks
#861
+8
−8
Merged
has_none for flag checks
#861