Add isHomogeneous and isHeterogeneous templates for Tuple