Hello,
AuthenticationHelper.IsAuthenticated() method idicates that current user is logged in.
MembershipContext.AuthenticatedUser holds the current user
example:
if (CMS.Membership.AuthenticationHelper.IsAuthenticated())
{
if (CMS.Membership.MembershipContext.AuthenticatedUser.IsInRole("yourRoleName","siteName"))
{
//do something
}
}