Check if handler exists before moving forward