hierarchyIsNotRespected
Method to check whether the hierarchy of the members is respected in the request
Return
whether the hierarchy is respected as boolean
Parameters
userId
: the identifier of the user
memberId
: the identifier of the member