xxxxxxxxxx
if(is_null($value) || empty($value)){dd('Is null or empty');}else{dd('Is NOT NULL OR EMPTY');}
xxxxxxxxxx
if ($mentor->first()) { }
if (!$mentor->isEmpty()) { }
if ($mentor->count()) { }
if (count($mentor)) { }
if ($mentor->isNotEmpty()) { }