Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
bool(x) -> bool

Returns True when the argument x is true, False otherwise.
The builtins True and False are the only two instances of the class bool.
The class bool is a subclass of the class int, and cannot be subclassed.

src/d/j/django-dash-0.4.4/src/dash/templatetags/dash_tags.py   django-dash(Download)
from django.utils.translation import ugettext_lazy as _
 
from dash.settings import ACTIVE_LAYOUT, DISPLAY_AUTH_LINK
from dash.utils import get_workspaces
 
def render_auth_link(context):
    """
    Render logout link.
    """
    if not DISPLAY_AUTH_LINK:

src/d/j/django-dash-HEAD/src/dash/templatetags/dash_tags.py   django-dash(Download)
from django.utils.translation import ugettext_lazy as _
 
from dash.settings import ACTIVE_LAYOUT, DISPLAY_AUTH_LINK
from dash.utils import get_workspaces
 
def render_auth_link(context):
    """
    Render logout link.
    """
    if not DISPLAY_AUTH_LINK: