Added has_perm function