Refactored mode check methods