generic "is" for constructor matching