def get_target(self, node_id, target_id):
        target = Guid.load(target_id)
        if not target or not getattr(target.referent, 'belongs_to_node', None):
            raise ValueError('Invalid comment target.')
        elif not target.referent.belongs_to_node(node_id):
            raise ValueError('Cannot post to comment target on another node.')
        elif isinstance(target.referent, StoredFileNode) and osf_settings.ADDONS_COMMENTABLE not in target.referent.provider:
                raise ValueError('Comments are not supported for this file provider.')
        return target
dataset/ETHPy150Open CenterForOpenScience/osf.io/api/comments/serializers.py/CommentCreateSerializer.get_target/swapped operands of `not in`