Update util.py

Added is_admin() method.