@moeppe 
The && operator is useful for checking for null objects  . The && and || operators are called short-circuit operators. They will return the value of the second operand based on the value of the first operand.

The && operator is useful for checking for null objects before accessing their attributes . so this way we can get rid of checking $box != null... possible ?