public function get_sub_function($fn)
    {
      if (!isset($this->subfunctions))
        return false;

      foreach ($this->subfunctions->terms as $sfn) {
        $pred = $sfn->type . TitleUtility::toTitleCase($sfn->term);

        if ($pred == $fn)
          return $sfn;
       }

      return false;
    }