`if ($val) {` is enough