Using '!!' makes you doubly deny the offer. How do you use! for this, PHP will automatically add the variable to boolean, and since you negate the negation, the value of the variable will remain unchanged. So casting a variable using '(bool)' or '!!' basically has the same effect.
source share