<?php
/**
* @return bool
*/
function isAdmin(){
session_start();
return isset($_SESSION['admin']);
}