human
Solve the following python programming problem given the following code:
def __cmp__(self, other) : 
    if isinstance (self, Collection) : 
        def cmp(a, b) : 
            return ((a > b) - (a < b)) 
return cmp ((self._database, self._collection_name), (other._database, other._collection_name)) 
return NotImplemented 

    
    

    Fix the buggy line: if isinstance (self, Collection) :
assistant
#Here is Python code to fix the buggy line: if isinstance (self, Collection) :
.

if isinstance (other, Collection) :