There’s no sure way to tell if someone has muted you. However, if your messages don’t show a delivery confirmation (two checkmarks) next to your message, that can be a sign that your contact has muted you.