/*
   * Check if the passed method id is valid for authentication
   * call-seq:
   *   transport.auth_method?(Integer) -> Boolean
   */
  int is_auth_method(int method) {