public function isVisible($cssSelector)
    {
        $session = $this->getSession();
        $page = $session->getPage();

        $pageElement = $page->find('css', $cssSelector);

        return $pageElement == null ? false : $pageElement->isVisible();
    }