def check_token(*tokens)
      rtm_keys = storage.get_all(teams_key)

      tokens.map do |token|
        begin
          team_info = check_token_status(token)
          key_info = rtm_keys[team_info['team_id']] || 'not_connected'
          info("Team #{team_info['team_id']} :: #{key_info}")
          true
        rescue => err
          on_error(err)
          false
        end
      end
    end
def check_token(*tokens)
      rtm_keys = storage.get_all(teams_key)

      tokens.map do |token|
        begin
          team_info = check_token_status(token)
          key_info = rtm_keys[team_info['team_id']] || 'not_connected'
          info("Team #{team_info['team_id']} :: #{key_info}")
          true
        rescue => err
          on_error(err)
          false
        end
      end
    end
Check token connection(s)