add shorthand for status-code checks