Trimmed some fat from checkEnabled()