history_stack_t
logical function histempty_fn(this) class(history_stack_t) :: this histempty_fn = (this%size == 0 .or. .not. allocated(this%data)) end function histempty_fn