Higher-order function. Returns a function that checks if the argument has the specified prop. It can check:
Optional
Higher-order function. Returns a function that checks if the argument has the specified prop. It can check: