Simplifies future changes to dragging checks and avoids each check for drag using slightly different logic.