short-circuit logic with logical AND (keyword *and*, &&)