check if variable is set and not empty laravel

PHP
isset($vars[1]) AND !empty($vars[1]) is equivalent to !empty($vars[1]).
Source

Also in PHP: