Ayup.
"They" is used as the generic plural pronoun (if there are multiple, always use it), and the gender-neutral singular pronoun (referring to one person whose gender is unknown or not male/female).
There's a Wikipedia article on this. You may want to see it.