utility method for default-value sha check