public function has_access($function_name) { // will be updated with roles and perms $is_a = $this->is_admin(); if ($is_a == true) { return true; } else { return false; } }