A node is slugable in following cases:
        1 - Node doesn't have children.
        2 - Node has children but its page doesn't have a regex.
        3 - Node has children, its page has regex but it doesn't show it.
        4 - Node has children, its page shows his regex and node has a default value for regex.
        5 - Node hasn't a page but it ins't hidden in url.

def slugable(self):
        """
        A node is slugable in following cases:
        1 - Node doesn't have children.
        2 - Node has children but its page doesn't have a regex.
        3 - Node has children, its page has regex but it doesn't show it.
        4 - Node has children, its page shows his regex and node has a default value for regex.
        5 - Node hasn't a page but it ins't hidden in url.
        """
        if self.page:
            if self.is_leaf_node():
                return True
            if not self.is_leaf_node() and not self.page.regex:
                return True
            if not self.is_leaf_node() and self.page.regex and not self.page.show_regex:
                return True
            if not self.is_leaf_node() and self.page.regex and self.page.show_regex and self.value_regex:
                return True
        elif not self.is_leaf_node() and not self.hide_in_url:
            return True
        return False