Simplify MotorClient.is_locked