How do I check for identity?

I am fairly new to things, but I wanted to ask a simple question of how do I check for an identity in Banner using APIs so I can choose to insert or update? Thanks in advance. -Jeff