#!/bin/sh
#
#  inList - return true if the first arg is duplicated in the remaining args
#           In other words it test if the first arg is a member of the list


firstArg="$1"
shift



in="false"

for i in $*
do
	if [ "$i" != "$firstArg" ]
	then
		in="false"
	else
		in="true"
		exit 0
	fi
done

exit 1
