hasPermission

fun hasPermission(context: Context, permission: String): Boolean

Function to Check If Permission is Granted