id)->count(); if ($findWebsites > 0) { Response::deny('Customer has websites, please delete them first.'); return false; } return true; } }