Add function to get suspend state of XfdashboardWindowContent to get the state not only by fetching property of instance.