huskar_api/models/container/common.py
def is_container_id(key):
    """Checks an instance key is a container id or not.

    :param key: The instance key.
    :returns: ``True`` for possible container id.
    """
    if re.match(container_regex, key):
        return True
    return False
Checks an instance key is a container id or not.

    :param key: The instance key.
    :returns: ``True`` for possible container id.
    
Checks an instance key is a container id or not.
Checks an instance key is a container id or not .
def is_container_id(key):
    if re.match(container_regex, key):
        return True
    return False
def is_container_id ( key ) : if re . match ( container_regex , key ) : return True return False
Checks an instance key is a container id or not.
Checks an instance key is a container id or not .
"""Checks an instance key is a container id or not.

    :param key: The instance key.
    :returns: ``True`` for possible container id.
    """
``True`` for possible container id.
` ` True ` ` for possible container id .
key
The instance key.
The instance key .