LPS-31145 Root message and thread are the same permissions
LPS-31145 Source formatting
LPS-31145 Source formatting - rootMessage.isRoot() is confusing
LPS-31145 Check simple booleans before making a call to check backend database based permissions since that costs more