public function allow(array $level_select = ["min" => 4,"max" => 4]): bool {
        if ($this->details !== false) {
            if (is_array($level_select) === true && isset($level_select["min"]) === true && isset($level_select["max"]) === true) {
                $level_select["min"] = Model\Role::find($level_select["min"])->priority;
                $level_select["max"] = Model\Role::find($level_select["max"])->priority;
                $level_select = ["min" => $level_select["min"], "max" => $level_select["max"]];
            } else {
                return false;
            }
            $current_priority = $this->details->role->priority;
            if (is_numeric($level_select["min"]) === true && is_numeric($level_select["max"]) === true) {
                if ($level_select["min"] >= $current_priority && $level_select["max"] <= $current_priority) {
                    return true;
                } else {
                    return false;
                }
            } else {
                return false;
            }
        } else {
            return false;
        }
    }