---
title: "senderSatisfies(_:)"
framework: xpc
role: symbol
role_heading: Instance Method
path: "xpc/xpcreceivedmessage/sendersatisfies(_:)"
---

# senderSatisfies(_:)

Check whether the sender of the received message satisfies the specified requirement.

## Declaration

```swift
func senderSatisfies(_ requirement: XPCPeerRequirement) -> Bool
```

## Return Value

Return Value A Bool indicating whether the sender satisfies the requirement

## Discussion

Discussion requirement: The requirement the peer must have
