Is my pension income taxable in New York State, if I am only a parttime resident in New York State?

Is my pension income taxable in New York State, if I am only a parttime resident in New York State?