Calls the given expression and returns true if it throws a RestException with the given status
See Implementation
Calls the given expression and returns true if it throws a RestException with the given status