add func is sidebar on is_cart checkout and account page