<?php
global $user;
$nid = arg(1);
$node = node_load($nid);
if ($node->type == 'team') {
  if (_deliver_is_administrator() || _deliver_is_team_manager($user->uid, $nid)) {
    return FALSE;
  } else return TRUE;
} else return FALSE;
?>