Human: check if number is complex. Assistant: 
Here is a Python program to check if the number is complex

import math

def is_complex(number):
    """Check if number is complex."""
    return isinstance(number, complex)

# Enter the number
number = 10

# Calling the function
print((is_complex(number)))

#Example Output
# False

#Remember to inspect code for bugs.