The conversation between human and AI assistant.
[|Human|] Create a function to check if an array contains an item.
[|AI|] Here's an implementation in Python:

```python
def contains(arr, item):
    return item in arr
```
[|Human|] 
Create a function to check if an array contains an item.