isPined method + example