hasPermission

open override fun hasPermission(name: String): Boolean
open override fun hasPermission(perm: Permission): Boolean