role->permissions()->where('route', $permission)->exists(); } }