Check if type exists