hasPermission

fun hasPermission(sender: <Error class: unknown class>): Boolean