Engine leaning out at 3000rpm

I was wondering about the exhaust. Is something restricting the exhaust-like the muffler, bent or kinked exhaust pipe. If the exhaust is restricted to flow-the engine will not have good vacuum especially as intake air flow will cause the engine to lean out as the throttle opening is increased. You may want to check this?