<human>:  Write me a Python program to check element of array in Python.
<bot>:

# Enter the element
element = 2

# Calling the function
print((is_element_of_array(array, element)))

#Example Output
# True

#Remember to inspect code for bugs.