Write a Python program to check if an item exists in a given list.
mylist = [1,2,3,4,5]
def item_exists(mylist, element):
    if element in mylist:
        return True
    return False

result = item_exists([1,2,3,4,5], 3)
print(result)