<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_owner(self, user):
 """ Checks if user is the owner of object Parameters user: get_user_model() instance Returns ------- bool Author ------ Himanshu Shankar (https://himanshus.com) """

        if user.is_authenticated:
            return self.created_by.id == user.id
        return False