Helper function: to check whether object is of type POSIXct
is_POSIXct(x)
a vector that should be tested whether
returns TRUE if of tpye POSIXct