8246592: Simplify checking of boolean file attributes

Reviewed-by: rriggs, alanb
4 files changed