Check if property is a basic type