human
check element exist.
assistant
Here is a Python code to check element exists

import re

def is_exist(list, element):
    """ Check if element exist in list.
    """
    for i in list:
        if i == element:
            return True
    return False

# Enter the list
list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

# Enter the element
element = 5

# Calling the function
print((is_exist(list, element)))

#Example Output
# True

#Remember to inspect code for bugs.