Can you make a shape function similar to a checkbox

Everything you need to know about checkboxes, but were afraid to ask: