where('character_id', $charId)->get(); foreach($checks as $check) { if($check === $scope){ return true; } } return false; } } ?>