Merge "Add isCredential method to ViewNode" into main