Before we go too far, you need to honestly answer this question: why are you here? If you're reading this page for advice, then you probably think you already have a problem. What exactly is this problem?
If you're just trying to exercise due diligence in making sure that your character is fine, that's one thing. But there is a general sense of "Mary Sue fear". This is caused by people looking at a number of Mary Sue tests and thinking that because their characters ring certain bells, they've written Mary Sues.
In general, if you're reasonably old enough to have consumed enough books/movies/TV/other media, you probably have an idea about how a story and characters get put together. The intentional Mary Sue is generally caused by obvious character worship. If you're reasonably mature and versed in storytelling, you can tell when you're clearly reaching into a story and running interference for characters. And if you aren't, then no advice page can help you.
YOU ARE READING
How to not write a Mary Sue
RandomA Mary Sue is an idealized and seemingly perfect fictional character. These characters are often irritating and cringe worthy. This book will tell everything about identifying a Mary Sue and how to avoid them.