userIsNotTheItemOwner

protected open fun userIsNotTheItemOwner(userId: String, token: String, itemId: String): Boolean

Method to get whether the user is or not the owner of the item requested

Return

whether the user is or not the owner of the item requested as boolean

Parameters

userId

: the identifier of the user

token

: the token of the user

itemId

: the identifier of the item requested