add isXXXChecked method and rename getPasscode