Human: define equality in object. Assistant: 
Here is a Python function to define equality in objects

import math

def is_equal(a, b):
    """
    Define equality in object.
    :param a:
    :param b:
    :return:
    """
    return a == b

# Enter the numbers
a = 1
b = 2

# Calling the function
print((is_equal(a, b)))

#Example Output
# False

#Remember to inspect code for bugs.