public function isBanned($id) { $throttle = Sentry::findThrottlerByUserId($id); if ($throttle->isBanned()) { // User is Banned return true; } else { // User is not Banned return false; } }