getModifierState should always return a boolean