$is_signed_in
is available in themes, not in webcontent templates.
Try
#set ($themeDisplay = $httpServletRequest.getAttribute("THEME_DISPLAY"))
$themeDisplay.isSignedIn()
this should work in webcontent templates.
(Thanks @Gonzalo for the reminder to initialize $themeDisplay
prior to use)