function isTestUser(athlete) {
  if (athlete instanceof Athlete) {
    return testAthleteIds.indexOf(athlete.get('_id')) !== -1;
  }

  if (typeof athlete === 'number') {
    return testAthleteIds.indexOf(athlete) !== -1;
  }

  return false;
}
/**
 * Determine if athlete is a test user
 *
 * @param {Number|Document} athlete ID or Athlete document
 * @return {Bool}
 */
Determine if athlete is a test user
@param {Number|Document} athlete ID or Athlete document
@return {Bool}
Determine if athlete is a test user @param { Number|Document } athlete ID or Athlete document @return { Bool }
function isTestUser(athlete) {
  if (athlete instanceof Athlete) {
    return testAthleteIds.indexOf(athlete.get('_id')) !== -1;
  }
  if (typeof athlete === 'number') {
    return testAthleteIds.indexOf(athlete) !== -1;
  }
  return false;
}
function isTestUser ( athlete ) { if ( athlete instanceof Athlete ) { return testAthleteIds . indexOf ( athlete . get ( '_id' ) ) !== - 1 ; } if ( typeof athlete === 'number' ) { return testAthleteIds . indexOf ( athlete ) !== - 1 ; } return false ; }
Determine if athlete is a test user
 @param {Number|Document} athlete ID or Athlete document
 @return {Bool}
Determine if athlete is a test user @param { Number|Document } athlete ID or Athlete document @return { Bool }