Check if user is logged

Submitted by shiv on Tue, 11/01/2016 - 19:27
  <?php /** * Comment goes here */ 
if(user_is_logged_in()){ print "Logged In"; }
?> 

Sample blackbox block

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas non porta odio, id mattis erat.

Nam sed tincidunt eros. Donec a venenatis odio, vitae commodo sem. Vivamus ullamcorper pellentesque erat, in adipiscing tortor scelerisque sit amet. Nulla pulvinar urna magna. Vivamus a ipsum lorem. Etiam adipiscing pulvinar lorem.