src/dirbs/utils.py
def is_db_user_dirbs_poweruser(conn):
    """
    Function to test whether the current DB user is a DIRBS power user.

    Arguments:
        conn: dirbs db connection object
    Returns:
        bool for confirmation
    """
    return is_db_user_dirbs_role(conn, 'dirbs_core_power_user')

    Function to test whether the current DB user is a DIRBS power user.

    Arguments:
        conn: dirbs db connection object
    Returns:
        bool for confirmation
    
Function to test whether the current DB user is a DIRBS power user.
Function to test whether the current DB user is a DIRBS power user .
def is_db_user_dirbs_poweruser(conn):
    return is_db_user_dirbs_role(conn, 'dirbs_core_power_user')
def is_db_user_dirbs_poweruser ( conn ) : return is_db_user_dirbs_role ( conn , 'dirbs_core_power_user' )
Function to test whether the current DB user is a DIRBS power user.
Function to test whether the current DB user is a DIRBS power user .
"""
    Function to test whether the current DB user is a DIRBS power user.

    Arguments:
        conn: dirbs db connection object
    Returns:
        bool for confirmation
    """
bool for confirmation
bool for confirmation
conn
dirbs db connection object
dirbs db connection object