# Exports

## isFinanced()

> You can use this export **server side** to verify if a vehicle is financed.
>
> **params:**
>
> * **plates** `string`&#x20;
>
> **returns:**
>
> * **result** `boolean`&#x20;
>
> ```lua
> local isFinanced = exports['av_dealership']:isFinanced(plates)
> if isFinanced then
>     print("You can't sell this vehicle.")
> end
> ```

## isRented()

> Use this export server side to verify if the vehicle is rented.
>
> **params:**
>
> * **plates** `string`
>
> **returns:**
>
> * **result** `boolean`&#x20;
>
> ```lua
> local isRented = exports['av_dealership']:isRented(plates)
> if isRented then
>     print("You can't sell this vehicle")
> end
> ```
