Check type