Yes, people can sense a timid, eager to please, indecisive nature that shy people tend to have. If someone is intuitive enough to sense weakness in someone, they will exploit it, even if it's as pointless as making themselves feel better by feeding their ego. Don't allow your mind to accept such treatment on a regular basis, you may avoid confrontation but eventually you're going to realize your life will never get better if you allow people to walk all over you forever.
Many people love to feel superior, confident, and in charge, hence the purpose of folks like us, they can inflate their egos and pretend they know everything and we know nothing.
These type of individuals who are condescending on a regular basis despite your proof time and time again of your intellectual abilities, well they aren't worth too much thought stressing over about. They think very little of you after all, so why shouldn't you return the favor and mostly ignore them?
There are other unique and more open minded individuals out there who are patient enough or wise enough to see the real you. It's just going to take time and the right moments of you taking a risk opening your inner thoughts to them.
Being constantly treated as a sidekick or naive person on a daily basis can be very taxing, especially if the person in question doesn't know how to vent their frustrations, bottling up their emotions.
"All greatness of character is dependent on individuality. The man who has no other existence than that which he partakes in common with all around him, will never have any other than an existence of mediocrity. "
-James F. Cooper
"Deep into that darkness peering, long I stood there... Wondering, fearing, doubting..." -Edgar Allan Poe