<?php if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN){ ?>
  A User/Member is logged in, with an Access Level >= 0.
<?php } ?>

---- s2member Shortcode Equivalent ----

[s2If is_user_logged_in()]
	content goes here
[/s2If]