Add a received property-get check using a lambda to avoid temporary variables.