Added method to check compressor safety switch.

Added isAtLimit() to check if a safe compressor is at its limit
currently.