function isAdmin if empty _SESSION user_id or _SESSION user_id 83 head

1
2
3
4
5
function isAdmin(){
if(empty($_SESSION["user_id"]) or $_SESSION["user_id"] != 83){
header("location:/podcast/");
}
}