user Is Not The Item Owner

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