need to check for the const on the class, not the instance