Collection Laravel Isempty
collect([])->isEmpty();
// true
Cooperative Crab
collect([])->isEmpty();
// true
collect([])->isNotEmpty();
// false