Phase 2a complete.

Created isClearAllKey function.