Add isOwner function for map model