Cast self to boolean for {{view}}