Checks if the user is the currently logged in user.
<?php if($site->user('bastian')->isCurrent()): ?> Bastian is the currently logged in user. <?php endif ?>