Use is_ tp detect types