def get_isowner(self, obj):
        if not self.context.get('user').is_anonymous():
            return obj.creator == self.context.get('user')
        else:
            return False
Returns `True` if the user provided in the serializer context is the
dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/serializers.py/FileSerializer.get_isowner