adding a currentType method to get current source type if known

Alternative solution for the problem posed in #1313. See that PR for discussion.
I think this ready check will need to happen before anytime we set source. Could probably move it into setSource?