Check if user is a member

I use the Drupal Group module. Is there a way to check if a logged-in user is an groupmember or not when he visit the grouppage? I have some blocks that should be hidden if an user is not a member.

I can’t figure out of this is possible or not.