why a double checks for these 4 attributes? 
(First against a constant and then against an hardcoded value which is equal to the constant)