(self, user, obj)
return 0 < self.get_follows(obj).filter(user=user).count()
Returns `True` or `False`
Returns `True` or `False`
Returns True or False
def is_following(self, user, obj):
        """ Returns `True` or `False` """
        if isinstance(user, AnonymousUser):
            return False        
        return 0 < self.get_follows(obj).filter(user=user).count()
def is_following ( self , user , obj ) : if isinstance ( user , AnonymousUser ) : return False return 0 < self . get_follows ( obj ) . filter ( user = user ) . count ( )