Create a function to check if an array contains an item.
Here's an implementation in Python:

```python
def contains(arr, item):
    return item in arr
```
Complete the following task based on the instruction and optional input provided.### Instruction:
Create a function to check if an array contains an item.

### Output:
Here's an implementation in Python:

```python
def contains(arr, item):
    return item in arr
```