Some people are highly talented at getting others to do their work for them. Some people, especially with senior in their title, are highly talented at deciding what should be done and in what order, and in that capacity will ask you to write some code. You often can't tell the difference unless you witnessed the work being assigned to the senior.
If you have some sort of daily standup thing where "we all" agree that Bill will write the new monthly trajectory report for the Whatever system, and you spend all afternoon in Bill's office helping with the query, the layout, and figuring out why it looks weird when you export to PDF, perhaps you're carrying Bill. If there are no all-hands meetings or public list of work items or kanban board or whatever, and Bill asks you to write the new monthly trajectory report, you might be carrying him or he might be managing the project and giving you the work he knows you can do.
Please, as an employer, I beg you: if you think you are carrying someone have a short conversation with your mutual boss. Something like this. "I don't want to be a tattle tale or a complainer. I just would not like to see you spending payroll on someone who only makes others do the work you assign him. This week Bill has put an extra 10 hours of work on me that I think was assigned to him. And I'm sorry for gossiping but when I mentioned it to someone else it turns out I'm not the only one. Perhaps you could look into it? If Bill is supposed to be assigning work to us I don't mind, but I'd like it in the standups (or as assigned work items, or whatever makes it public) so we can all agree on priorities."
Why do I beg you? Because of the times (yes, plural) when my firm was running flatout with everyone super busy, and then I fired someone, and then suddenly everyone met their deadlines. It's really time consuming to carry someone and it lowers your productivity compared to just doing it. So I was basically taking money from my children's mouths and handing it to someone who not only gave me nothing back, but slowed everyone else down. And everyone else had helped that happen. After the first time we had an all-hands about it. A little temporary carrying while someone goes throug a rough patch is kind and right. But after a month, you're just helping that person steal a paycheque from me. And I bet you don't even like doing it. So don't. (But word the conversation carefully in case you aren't actually carrying them after all.)