# HarvestableClass.server_canErase

Called to check whether the [Harvestable](../Game-Script-Environment/Userdata/Harvestable.md) can be erased at this moment.

**Kind:** Callback

**Environments:** Game

## Game

**Callback side:** Server

``` { .lua .api-signature }
HarvestableClass:server_canErase(  )
```

[Open the full Game reference](../Game-Script-Environment/Classes/HarvestableClass.md#server_canerase)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `self` | table | The class instance. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | A boolean indicating whether the [Harvestable](../Game-Script-Environment/Userdata/Harvestable.md) can be removed or not. (Defaults to "removable" json value which defaults to false) |
