Add is_bare example

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>