How to distinguish between workspace members and guests using Trello API

I’d like to retrieve Trello Members using the Trello API and distinguish between Workspace members and Guests. How can I differentiate between them? I’m assuming that nested organization response fields “members” refers to workspace members and “collaborators” refers to guests, but I’m not entirely sure about this.