human
if column is not null.
assistant
Here is a Python function to if a column is not null

import pandas as pd

def is_not_null(column):
    """
    >>> is_not_null([1, 2, 3])
    True
    >>> is_not_null([])
    False
    """
    return len(column) > 0

# Enter the dataframe
df = pd.DataFrame({"col1": [1, 2, 3], "col2": [4, 5, 6]})

# Calling the function
print((is_not_null(df["col1"])))
print((is_not_null(df["col2"])))

#Example Output
# True
# True

#Remember to inspect code for bugs.