is-up function working with monocle