Change is_admin from constant to function
Merge pull request #1 from grappler/patch-1

Change is_admin from constant to function