In IT it's actually almost reverse now - frequent job changes can be an indicator of the skill diversity and adaptability.
Unfortunately this is still country- and company-specific.
In all cases, it is best not to base your career decisions on such arbitrary terms - if you are happy with the challenges and opportunities your current position offers - stay, if not - move on.
Even if your application ends on the desk of somebody, who thinks switching jobs often is bad, it's better to be transparent on your motives and save yourself a future frustration.
People are going to run background checks anyway, so they will probably know why you changed companies or positions and how you left the place.