def get_node_alias(self, node_id: bytes) -> Optional[str]:
    'Returns the alias of the node, or None if unknown.'
    node_alias = None
    if self.channel_db:
        node_info = self.channel_db.get_node_info_for_node_id(node_id)
        if node_info:
            node_alias = node_info.alias
    else:
        for (k, v) in hardcoded_trampoline_nodes().items():
            if (v.pubkey == node_id):
                node_alias = k
                break
    return node_alias
Returns the alias of the node, or None if unknown.
def get_node_alias(self, node_id: bytes) -> Optional[str]:
    
    node_alias = None
    if self.channel_db:
        node_info = self.channel_db.get_node_info_for_node_id(node_id)
        if node_info:
            node_alias = node_info.alias
    else:
        for (k, v) in hardcoded_trampoline_nodes().items():
            if (v.pubkey == node_id):
                node_alias = k
                break
    return node_alias