Adding a null check for basetypes when checking wether or not a type is a concept