public function selfPermCheck($permid)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    return $this->execute("permget", array($permident => $permid))->toAssocArray("permsid");
  }