Simple wrapper function to create custom assertions