check file

From: Kenneth (kenneth_at_cde.com)
Date: 07/30/03


Date: Wed, 30 Jul 2003 21:36:17 +0800

I want to check if there exist any filename with test in it by
if [[ -a test* ]]; then
    echo "file exist"
    else
    echo "file not exist"
fi
But it always return not exist. How can I use wildcard in check the
existence of certain type of files? Thanks.