It's really a bit different than what's in the database. This is an internal check to see whether the user should be notified that they can't proceed because of a credit situation, which is different from whether the customer is actually on hold or not. Probably would have been clearer to use NOTIFY_NONE, NOTIFY_WARN and NOTIFY_HOLD.