mgd_is_person_owner
mgd_is_person_owner -- check person ownership
Description
`bool **mgd_is_person_owner** (int person)`
Checks whether the current user is owner of person with id person. Rest assured that this has nothing to do with slavery.
Sitegroup administrators are counted as person owners of all users in their sitegroup regarding this check, SG0 root accounts do not count in that way though. Additionally, a person is always the owner of itself. Therefore, an explicit check against $midgard->user or $midgard->admin is not required when using this function.
Returns TRUE if user is owner, FALSE otherwise.
