human
Give me a Python function to check if a column is object in the Python code.
assistant
Here is a Python function to check if a column is object in the Python code

import pandas as pd

def is_object(column):
    """
    Checks if the column is an object
    :param column: the column to be checked
    :return: True if the column is an object, False otherwise
    """
    return isinstance(column, (str, int, float, bool, list, tuple, dict))

# Enter the column
column = "Name"

# Calling the function
print((is_object(column)))

#Example Output
# True

#Remember to inspect code for bugs.