<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _validate_type_scalar(self, value):
 """ Is not a list or a dict """

        if isinstance(
            value, _int_types + (_str_type, float, date, datetime, bool)
        ):
            return True