isNode1

fun isNode1(localNodeId: PublicKey, remoteNodeId: PublicKey): Boolean

BOLT 7: The creating node MUST set node-id-1 and node-id-2 to the public keys of the two nodes who are operating the channel, such that node-id-1 is the numerically-lesser of the two DER encoded keys sorted in ascending numerical order,

Return

true if localNodeId is node1