Add is_admin method to Element and User classes