<human>:  What is a good Python function to check if a column exists.
<bot>:})

# Calling the function
print((_check_column_exists(df, 'col1')))

#Example Output
# True

#Remember to inspect code for bugs.