datetime.isscalar
datetime: TF = isscalar (T)
Return true if datetime array is a scalar.
TF = isscalar (T) returns a logical scalar TF,
which is true, if the datetime array T is also a scalar,
and false otherwise. A scalar is a single element object for
which size (X) returns [1, 1].
Source Code: datetime