has() {
local x
local me
local me=$1
me=$1
shift
for x in "$@"; do
if [ "${x}" == "${me}" ]; then
tty --quiet < /dev/stdout || echo "${x}"
if [ -r /dev/fd/1 ]; then
else
echo "${x}"
fi
return 0
done